Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.StarDelta.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 106.4 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 244.8 MB, free: 14.21 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 186.8 kB / 299.8 MB, free: 9.906 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04164/0.04164, allocations: 8.943 MB / 363.6 MB, free: 10.25 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002458/0.002458, allocations: 83.17 kB / 486 MB, free: 11.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1287/0.1311, allocations: 54.41 MB / 0.5278 GB, free: 1.293 MB / 334.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.008499/0.1396, allocations: 4.053 MB / 0.5318 GB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003316/0.143, allocations: 1.11 MB / 0.5328 GB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005124/0.1435, allocations: 27.88 kB / 0.5329 GB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000569/0.144, allocations: 170.7 kB / 0.533 GB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001077/0.1451, allocations: 286.4 kB / 0.5333 GB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000544/0.1457, allocations: 163.8 kB / 0.5335 GB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002292/0.148, allocations: 1.592 MB / 0.535 GB, free: 9.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.1494, allocations: 1.136 MB / 0.5361 GB, free: 8.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.1505, allocations: 0.7516 MB / 0.5369 GB, free: 7.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.1518, allocations: 0.8951 MB / 0.5377 GB, free: 7.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002677/0.1521, allocations: 188 kB / 0.5379 GB, free: 6.855 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003585/0.1525, allocations: 200 kB / 0.5381 GB, free: 6.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005232/0.153, allocations: 0.5297 MB / 0.5386 GB, free: 6.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001323/0.1543, allocations: 0.8517 MB / 0.5394 GB, free: 5.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.1572, allocations: 2.469 MB / 0.5419 GB, free: 2.801 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.516e-06/0.1572, allocations: 4 kB / 0.5419 GB, free: 2.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1572, allocations: 0 / 0.5419 GB, free: 2.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.977e-05/0.1572, allocations: 4 kB / 0.5419 GB, free: 2.793 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 351 * Number of variables: 351 Notification: Performance of Generate backend data structure: time 0.003843/0.1611, allocations: 1.917 MB / 0.5437 GB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1611, allocations: 15.97 kB / 0.5438 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002824/0.1614, allocations: 215 kB / 0.544 GB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.1618, allocations: 175.9 kB / 0.5441 GB, free: 424 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.1637, allocations: 1.022 MB / 0.5451 GB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.1638, allocations: 111.1 kB / 0.5452 GB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/0.1641, allocations: 139.9 kB / 0.5454 GB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003257/0.1673, allocations: 1.936 MB / 0.5473 GB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.1674, allocations: 0 / 0.5473 GB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/0.1675, allocations: 56 kB / 0.5473 GB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.468e-05/0.1675, allocations: 35.98 kB / 0.5473 GB, free: 13.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002919/0.1704, allocations: 1.592 MB / 0.5489 GB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009586/0.18, allocations: 4.798 MB / 0.5536 GB, free: 6.535 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.1822, allocations: 1.791 MB / 0.5553 GB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.1834, allocations: 0.6317 MB / 0.5559 GB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.93e-05/0.1835, allocations: 8.656 kB / 0.556 GB, free: 3.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.1846, allocations: 0.6023 MB / 0.5565 GB, free: 3.246 MB / 366.1 MB Notification: Performance of pre-optimization done (n=74): time 2.284e-06/0.1846, allocations: 0 / 0.5565 GB, free: 3.246 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.005544/0.1901, allocations: 2.785 MB / 0.5593 GB, free: 412 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.1902, allocations: 149.2 kB / 0.5594 GB, free: 232 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.1915, allocations: 0.7971 MB / 0.5602 GB, free: 15.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.942e-05/0.1916, allocations: 45.69 kB / 0.5602 GB, free: 15.37 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006871/0.1923, allocations: 0.6254 MB / 0.5608 GB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.1925, allocations: 277.7 kB / 0.5611 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002489/0.1928, allocations: 154.6 kB / 0.5612 GB, free: 14.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002569/0.193, allocations: 394.8 kB / 0.5616 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.1937, allocations: 417.6 kB / 0.562 GB, free: 13.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008715/0.1946, allocations: 0.5918 MB / 0.5626 GB, free: 12.85 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.1962, allocations: 0.9933 MB / 0.5636 GB, free: 11.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.1962, allocations: 0 / 0.5636 GB, free: 11.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002238/0.1984, allocations: 1.239 MB / 0.5648 GB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.1984, allocations: 8 kB / 0.5648 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.1985, allocations: 4 kB / 0.5648 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.1989, allocations: 172.9 kB / 0.565 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.1996, allocations: 155.8 kB / 0.5651 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/0.2034, allocations: 2.985 MB / 0.568 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.204, allocations: 55.95 kB / 0.5681 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.2041, allocations: 24 kB / 0.5681 GB, free: 7.004 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,$PRE.rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,$PRE.rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,$PRE.rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001008/0.2051, allocations: 0.5681 MB / 0.5687 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.2053, allocations: 83.48 kB / 0.5687 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00024/0.2055, allocations: 112.3 kB / 0.5688 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.2055, allocations: 8 kB / 0.5688 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/0.2055, allocations: 4 kB / 0.5688 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.2055, allocations: 3.984 kB / 0.5689 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.2106, allocations: 2.639 MB / 0.5714 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2106, allocations: 0 / 0.5714 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.2112, allocations: 127.8 kB / 0.5716 GB, free: 3.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000377/0.2115, allocations: 160.8 kB / 0.5717 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/0.2116, allocations: 23.98 kB / 0.5717 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003938/0.2155, allocations: 2.936 MB / 0.5746 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.2155, allocations: 8 kB / 0.5746 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003159/0.2187, allocations: 1.724 MB / 0.5763 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/0.2194, allocations: 256.5 kB / 0.5765 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002116/0.2197, allocations: 27.98 kB / 0.5766 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004934/0.2201, allocations: 47.95 kB / 0.5766 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002054/0.2204, allocations: 72.48 kB / 0.5767 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.999e-05/0.2204, allocations: 27.98 kB / 0.5767 GB, free: 13.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00107/0.2215, allocations: 0.5653 MB / 0.5773 GB, free: 13.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2215, allocations: 0 / 0.5773 GB, free: 13.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001193/0.2227, allocations: 264 kB / 0.5775 GB, free: 13.1 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (inductor.inductor[1].i,inductor.inductor[3].i,inductorLoad.inductor[3].i,rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,switch.control[1],switch.control[2],switch.control[3],rootMeanSquare[1].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[3].mean.y_last) * Number of discrete states: 3 (rootMeanSquare[1].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[3].mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00323/0.2259, allocations: 2.307 MB / 0.5798 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002159/0.2281, allocations: 1.117 MB / 0.5808 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.2281, allocations: 8 kB / 0.5809 GB, free: 9.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/0.2293, allocations: 0.6581 MB / 0.5815 GB, free: 8.934 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.2305, allocations: 221.8 kB / 0.5817 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01688/0.2473, allocations: 9.972 MB / 0.5914 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.2491, allocations: 1.504 MB / 0.5929 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006695/0.2497, allocations: 226.5 kB / 0.5931 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007543/0.2505, allocations: 467.3 kB / 0.5936 GB, free: 12.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2505, allocations: 0 / 0.5936 GB, free: 12.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06792/0.3184, allocations: 24.01 MB / 0.617 GB, free: 4.484 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.68, allocations: 7.938 kB / 0.617 GB, free: 4.48 MB / 430.1 MB " [Timeout remaining time 648] (rm -f HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.StarDelta.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.StarDelta.pipe >> ../files/HanserModelica_HanserModelica.Electrical.StarDelta.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_Electrical_StarDelta_fmu --startTime=0 --stopTime=0.2 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_Electrical_StarDelta.fmu > HanserModelica_HanserModelica.Electrical.StarDelta.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.662686025723815] Failed to read output from testmodel.py, exit status != 0: 11.964299941901118 11.80227784 11.640763856 Calling exit ...