Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 115.6 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.398/1.398, allocations: 230.6 MB / 250.5 MB, free: 9.387 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 204.1 kB / 306.7 MB, free: 4.355 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.04154/0.04154, allocations: 8.898 MB / 371.7 MB, free: 3.492 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1,fileNamePrefix="HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: HanserModelica requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: HanserModelica requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 79.83 kB / 496.5 MB, free: 9.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2559, allocations: 55.57 MB / 0.5391 GB, free: 26.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.SynchronousMachines.SMEE_ShortCircuit1): time 0.01263/0.2685, allocations: 16.63 MB / 0.5554 GB, free: 14.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008551/0.2771, allocations: 5.601 MB / 0.5608 GB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.2798, allocations: 119.2 kB / 0.5609 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003056/0.2828, allocations: 1.272 MB / 0.5622 GB, free: 9.902 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/SynchronousMachines/Templates/SMEE_ShortCircuit.mo:18:3-19:30:writable] Warning: Conditional component 'ir' is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.00425/0.2871, allocations: 1.558 MB / 0.5637 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002473/0.2895, allocations: 1.033 MB / 0.5647 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005097/0.2946, allocations: 4.644 MB / 0.5693 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.298, allocations: 2.426 MB / 0.5716 GB, free: 4.625 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003542/0.3015, allocations: 2.115 MB / 0.5737 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005483/0.307, allocations: 2.481 MB / 0.5761 GB, free: 2.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002461/0.3095, allocations: 0.5647 MB / 0.5767 GB, free: 2.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003953/0.3134, allocations: 0.7909 MB / 0.5774 GB, free: 2.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00269/0.3161, allocations: 1.251 MB / 0.5787 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005838/0.322, allocations: 2.377 MB / 0.581 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01452/0.3365, allocations: 7.378 MB / 0.5882 GB, free: 10.72 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.227e-05/0.3365, allocations: 4 kB / 0.5882 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3365, allocations: 1.062 kB / 0.5882 GB, free: 10.71 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002817/0.3368, allocations: 3.938 kB / 0.5882 GB, free: 10.71 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 962 * Number of variables: 962 Notification: Performance of Generate backend data structure: time 0.02126/0.358, allocations: 4.956 MB / 0.593 GB, free: 6.758 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3581, allocations: 12.03 kB / 0.593 GB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001789/0.3583, allocations: 110.1 kB / 0.5932 GB, free: 6.637 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001924/0.3602, allocations: 0.553 MB / 0.5937 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006451/0.3666, allocations: 0.9429 MB / 0.5946 GB, free: 5.129 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006729/0.3734, allocations: 2.778 MB / 0.5973 GB, free: 2.297 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002777/0.3736, allocations: 279.6 kB / 0.5976 GB, free: 2.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009922/0.3746, allocations: 371.9 kB / 0.5979 GB, free: 1.66 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/0.3856, allocations: 4.675 MB / 0.6025 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001067/0.3857, allocations: 8 kB / 0.6025 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006751/0.3864, allocations: 144 kB / 0.6027 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001753/0.3865, allocations: 167.3 kB / 0.6028 GB, free: 12.63 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008923/0.3955, allocations: 3.894 MB / 0.6066 GB, free: 8.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03053/0.426, allocations: 15.34 MB / 0.6216 GB, free: 8.918 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007427/0.4334, allocations: 6.095 MB / 0.6276 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002578/0.436, allocations: 1.21 MB / 0.6287 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008661/0.4446, allocations: 4.928 MB / 0.6335 GB, free: 11.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.836e-05/0.4447, allocations: 47.5 kB / 0.6336 GB, free: 11.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 3.597e-06/0.4447, allocations: 0 / 0.6336 GB, free: 11.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=147): time 0.01186/0.4566, allocations: 5.285 MB / 0.6388 GB, free: 6.105 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.4566, allocations: 72.59 kB / 0.6388 GB, free: 6.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.4601, allocations: 2.174 MB / 0.6409 GB, free: 3.812 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001777/0.4603, allocations: 49.7 kB / 0.641 GB, free: 3.758 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001393/0.4617, allocations: 1.798 MB / 0.6427 GB, free: 1.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005413/0.4622, allocations: 0.5268 MB / 0.6433 GB, free: 1.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006739/0.4629, allocations: 420.1 kB / 0.6437 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.463, allocations: 301.1 kB / 0.644 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.4644, allocations: 0.7696 MB / 0.6447 GB, free: 15.92 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.4664, allocations: 1.549 MB / 0.6462 GB, free: 14.01 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.016/0.4824, allocations: 4.878 MB / 0.651 GB, free: 8.762 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/0.4824, allocations: 8 kB / 0.651 GB, free: 8.754 MB / 462.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.005515/0.4879, allocations: 2.81 MB / 0.6537 GB, free: 5.93 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.4879, allocations: 16 kB / 0.6537 GB, free: 5.914 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.769e-05/0.488, allocations: 24 kB / 0.6538 GB, free: 5.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000802/0.4888, allocations: 278.1 kB / 0.654 GB, free: 5.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/0.4907, allocations: 0.4953 MB / 0.6545 GB, free: 5.117 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004516/0.4952, allocations: 3.39 MB / 0.6578 GB, free: 1.594 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/0.4974, allocations: 99.88 kB / 0.6579 GB, free: 1.496 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002504/0.4976, allocations: 104 kB / 0.658 GB, free: 1.395 MB / 462.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: smee.is[2] = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 262 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002126/0.4997, allocations: 1.103 MB / 0.6591 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005769/0.5003, allocations: 238.5 kB / 0.6593 GB, free: 52 kB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003577/0.5039, allocations: 1.767 MB / 0.6611 GB, free: 14.26 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.5039, allocations: 16 kB / 0.6611 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5039, allocations: 7.938 kB / 0.6611 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.532e-05/0.5039, allocations: 7.969 kB / 0.6611 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009402/0.5133, allocations: 5.043 MB / 0.666 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/0.5133, allocations: 4 kB / 0.666 GB, free: 9.074 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/0.5147, allocations: 263.6 kB / 0.6663 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007024/0.5154, allocations: 223.7 kB / 0.6665 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.5155, allocations: 35.98 kB / 0.6665 GB, free: 8.562 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004334/0.5198, allocations: 3.252 MB / 0.6697 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.5198, allocations: 11.91 kB / 0.6697 GB, free: 5.172 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004991/0.5248, allocations: 2.698 MB / 0.6723 GB, free: 2.422 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001226/0.526, allocations: 467.5 kB / 0.6728 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/0.5263, allocations: 39.94 kB / 0.6728 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.5274, allocations: 59.95 kB / 0.6729 GB, free: 1.848 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/0.5276, allocations: 93.17 kB / 0.673 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.111e-05/0.5277, allocations: 47.98 kB / 0.673 GB, free: 1.711 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002413/0.5301, allocations: 1.455 MB / 0.6744 GB, free: 244 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5301, allocations: 7.938 kB / 0.6744 GB, free: 236 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.002363/0.5325, allocations: 0.6367 MB / 0.6751 GB, free: 15.59 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 5 ($outputAlias_ie,smee.phiMechanical,smee.stator.zeroInductor.i0,smee.stator.core.Phi.re,smee.stator.core.Phi.im) * Number of discrete variables: 1 (booleanReplicator.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004892/0.5374, allocations: 3.304 MB / 0.6783 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003653/0.541, allocations: 2.069 MB / 0.6803 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.541, allocations: 0 / 0.6803 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.5426, allocations: 0.8923 MB / 0.6812 GB, free: 9.219 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/0.5453, allocations: 0.5953 MB / 0.6818 GB, free: 8.625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03892/0.5842, allocations: 21.87 MB / 0.7031 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2036/0.7879, allocations: 2.429 MB / 0.7055 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002082/0.79, allocations: 0.5059 MB / 0.706 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/0.7918, allocations: 1.347 MB / 0.7073 GB, free: 139 MB / 0.4981 GB Notification: Performance of SimCode: time 1.903e-06/0.7918, allocations: 0 / 0.7073 GB, free: 139 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09727/0.889, allocations: 56.2 MB / 0.7622 GB, free: 108.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.4, allocations: 2.969 kB / 0.7622 GB, free: 108.9 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; mkfifo HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe ; head -c 1048576 < HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe >> ../files/HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1_fmu --startTime=0 --stopTime=0.5 --stepSize=0.0001 --timeout=50 --tolerance=1e-08 HanserModelica_HanserModelica_SynchronousMachines_SMEE_ShortCircuit1.fmu > HanserModelica_HanserModelica.SynchronousMachines.SMEE_ShortCircuit1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.050391311990097] Failed to read output from testmodel.py, exit status != 0: 15.578772021981422 15.59184514 15.252123278000001 Calling exit ...