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.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.001744/0.001744, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.651/1.651, allocations: 230.6 MB / 250.5 MB, free: 9.199 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.002233/0.002233, allocations: 206.8 kB / 306.7 MB, free: 4.301 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.04257/0.04257, allocations: 8.906 MB / 371.7 MB, free: 3.434 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.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.Electrical.StarDelta,fileNamePrefix="HanserModelica_HanserModelica_Electrical_StarDelta",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.002766/0.002766, allocations: 91.88 kB / 496.4 MB, free: 9.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3979, allocations: 55.56 MB / 0.5391 GB, free: 26.57 MB / 382.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.006402/0.4043, allocations: 4.09 MB / 0.5431 GB, free: 23.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003733/0.408, allocations: 1.186 MB / 0.5442 GB, free: 22.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009394/0.4089, allocations: 34.81 kB / 0.5442 GB, free: 22.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000586/0.4095, allocations: 176.1 kB / 0.5444 GB, free: 22.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00153/0.411, allocations: 281.6 kB / 0.5447 GB, free: 22.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.4117, allocations: 177.4 kB / 0.5449 GB, free: 22.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001916/0.4136, allocations: 1.61 MB / 0.5464 GB, free: 21.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.4148, allocations: 1.137 MB / 0.5475 GB, free: 21.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.4159, allocations: 0.7753 MB / 0.5483 GB, free: 20.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001398/0.4173, allocations: 0.9047 MB / 0.5492 GB, free: 20.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.4176, allocations: 192 kB / 0.5494 GB, free: 20.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004256/0.418, allocations: 207.7 kB / 0.5496 GB, free: 20.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.4184, allocations: 0.5295 MB / 0.5501 GB, free: 20.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009912/0.4194, allocations: 0.8761 MB / 0.5509 GB, free: 19.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002544/0.422, allocations: 2.493 MB / 0.5534 GB, free: 18.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.422, allocations: 0 / 0.5534 GB, free: 18.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.422, allocations: 0 / 0.5534 GB, free: 18.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.053e-05/0.4221, allocations: 0 / 0.5534 GB, free: 18.62 MB / 382.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.004365/0.4264, allocations: 1.932 MB / 0.5552 GB, free: 17.44 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.4265, allocations: 15.8 kB / 0.5553 GB, free: 17.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.434e-05/0.4266, allocations: 35.61 kB / 0.5553 GB, free: 17.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.4268, allocations: 212.6 kB / 0.5555 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007325/0.4275, allocations: 209.1 kB / 0.5557 GB, free: 17.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001746/0.4293, allocations: 1.051 MB / 0.5567 GB, free: 16.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.4294, allocations: 110.4 kB / 0.5568 GB, free: 16.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.4296, allocations: 141.4 kB / 0.557 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/0.4339, allocations: 1.931 MB / 0.5589 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.4339, allocations: 0 / 0.5589 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001449/0.4341, allocations: 57.62 kB / 0.5589 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/0.4341, allocations: 34.47 kB / 0.5589 GB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003506/0.4376, allocations: 1.595 MB / 0.5605 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.4495, allocations: 4.819 MB / 0.5652 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/0.4518, allocations: 1.798 MB / 0.567 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001491/0.4532, allocations: 0.6341 MB / 0.5676 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.422e-05/0.4533, allocations: 7.766 kB / 0.5676 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/0.4544, allocations: 0.6038 MB / 0.5682 GB, free: 10.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.715e-06/0.4544, allocations: 1 kB / 0.5682 GB, free: 10.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.005379/0.4598, allocations: 2.789 MB / 0.5709 GB, free: 9.316 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.4598, allocations: 143 kB / 0.571 GB, free: 9.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.4611, allocations: 0.8362 MB / 0.5719 GB, free: 8.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.192e-05/0.4612, allocations: 42.98 kB / 0.5719 GB, free: 8.645 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.4617, allocations: 0.6331 MB / 0.5725 GB, free: 8.094 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.4619, allocations: 273.4 kB / 0.5728 GB, free: 7.859 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002529/0.4621, allocations: 156 kB / 0.5729 GB, free: 7.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4623, allocations: 400.2 kB / 0.5733 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006999/0.463, allocations: 411.9 kB / 0.5737 GB, free: 7.191 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007715/0.4638, allocations: 0.5972 MB / 0.5743 GB, free: 6.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.4652, allocations: 0.9978 MB / 0.5753 GB, free: 6.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.4652, allocations: 2.625 kB / 0.5753 GB, free: 6.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002381/0.4676, allocations: 1.252 MB / 0.5765 GB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.4676, allocations: 9.375 kB / 0.5765 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.4676, allocations: 5.344 kB / 0.5765 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/0.4681, allocations: 173.6 kB / 0.5767 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000663/0.4688, allocations: 154.5 kB / 0.5768 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.4719, allocations: 2.996 MB / 0.5797 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009439/0.4728, allocations: 45.53 kB / 0.5798 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.975e-05/0.4729, allocations: 33.7 kB / 0.5798 GB, free: 2.84 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.001287/0.4742, allocations: 0.5672 MB / 0.5804 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.4745, allocations: 89.97 kB / 0.5804 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.4748, allocations: 106.1 kB / 0.5805 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.4748, allocations: 8.344 kB / 0.5806 GB, free: 2.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.682e-05/0.4748, allocations: 5.5 kB / 0.5806 GB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.4748, allocations: 5.578 kB / 0.5806 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/0.4797, allocations: 2.65 MB / 0.5832 GB, free: 0 / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.863e-05/0.4798, allocations: 4.047 kB / 0.5832 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005698/0.4803, allocations: 115.8 kB / 0.5833 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.4808, allocations: 164.8 kB / 0.5834 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.719e-05/0.4809, allocations: 27.98 kB / 0.5835 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003871/0.4847, allocations: 2.937 MB / 0.5863 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.4847, allocations: 8 kB / 0.5863 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.4881, allocations: 1.724 MB / 0.588 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006948/0.4888, allocations: 260.5 kB / 0.5883 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.489, allocations: 23.98 kB / 0.5883 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000475/0.4894, allocations: 51.91 kB / 0.5883 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002263/0.4897, allocations: 72.53 kB / 0.5884 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.608e-05/0.4897, allocations: 27.98 kB / 0.5884 GB, free: 10.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001021/0.4907, allocations: 0.5888 MB / 0.589 GB, free: 9.828 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4907, allocations: 0 / 0.589 GB, free: 9.828 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00142/0.4922, allocations: 264 kB / 0.5893 GB, free: 9.57 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.003544/0.4957, allocations: 2.305 MB / 0.5915 GB, free: 7.223 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.4982, allocations: 1.114 MB / 0.5926 GB, free: 6.094 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.4982, allocations: 8.125 kB / 0.5926 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.4995, allocations: 0.6501 MB / 0.5932 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/0.501, allocations: 231.9 kB / 0.5935 GB, free: 5.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/0.5201, allocations: 10.18 MB / 0.6034 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/0.5215, allocations: 1.516 MB / 0.6049 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007515/0.5223, allocations: 230.7 kB / 0.6051 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/0.523, allocations: 459.3 kB / 0.6055 GB, free: 8.523 MB / 414.1 MB Notification: Performance of SimCode: time 1.773e-06/0.523, allocations: 4 kB / 0.6055 GB, free: 8.52 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06946/0.5925, allocations: 24.62 MB / 0.6296 GB, free: 180 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/13.63, allocations: 10.66 kB / 0.6296 GB, free: 172 kB / 430.1 MB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 16.89030847302638] Failed to read output from testmodel.py, exit status != 0: 13.781399817031343 13.80765097 13.380310651 Calling exit ...