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.002046/0.002046, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.673/1.673, allocations: 230.6 MB / 253.4 MB, free: 14.48 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.001744/0.001744, allocations: 204 kB / 310 MB, free: 3.051 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.04061/0.04061, allocations: 8.925 MB / 375.4 MB, free: 6.637 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.002806/0.002806, allocations: 87.81 kB / 0.49 GB, free: 44.9 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1329, allocations: 55.6 MB / 0.5443 GB, free: 5.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.StarDelta): time 0.006262/0.1391, allocations: 4.122 MB / 0.5483 GB, free: 1.051 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.1417, allocations: 1.196 MB / 0.5495 GB, free: 15.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.142, allocations: 35.75 kB / 0.5495 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004212/0.1424, allocations: 170.7 kB / 0.5497 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009117/0.1434, allocations: 294.4 kB / 0.5499 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1438, allocations: 183.7 kB / 0.5501 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001846/0.1457, allocations: 1.607 MB / 0.5517 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.1468, allocations: 0.8197 MB / 0.5525 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.1478, allocations: 0.7828 MB / 0.5532 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.1492, allocations: 0.8989 MB / 0.5541 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.1494, allocations: 188 kB / 0.5543 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003684/0.1498, allocations: 204 kB / 0.5545 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005195/0.1503, allocations: 0.5258 MB / 0.555 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.1513, allocations: 0.8711 MB / 0.5559 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002992/0.1543, allocations: 2.491 MB / 0.5583 GB, free: 6.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.1543, allocations: 7.938 kB / 0.5583 GB, free: 6.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1543, allocations: 0 / 0.5583 GB, free: 6.723 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.665e-05/0.1544, allocations: 0 / 0.5583 GB, free: 6.723 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.004769/0.1592, allocations: 2.263 MB / 0.5605 GB, free: 4.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1592, allocations: 23.92 kB / 0.5605 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.323e-05/0.1593, allocations: 34.95 kB / 0.5606 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002897/0.1596, allocations: 215 kB / 0.5608 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000673/0.1602, allocations: 207.8 kB / 0.561 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00192/0.1621, allocations: 1.007 MB / 0.562 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1623, allocations: 114.9 kB / 0.5621 GB, free: 2.789 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.1625, allocations: 136 kB / 0.5622 GB, free: 2.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003682/0.1662, allocations: 1.924 MB / 0.5641 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.1662, allocations: 4 kB / 0.5641 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.1664, allocations: 56 kB / 0.5641 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-05/0.1664, allocations: 36 kB / 0.5642 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2673/0.4337, allocations: 1.591 MB / 0.5657 GB, free: 24.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007816/0.4415, allocations: 4.759 MB / 0.5704 GB, free: 23.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001388/0.4429, allocations: 0.8845 MB / 0.5712 GB, free: 23.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/0.4441, allocations: 0.6283 MB / 0.5718 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.579e-05/0.4441, allocations: 10.77 kB / 0.5719 GB, free: 23.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000992/0.4451, allocations: 0.6032 MB / 0.5724 GB, free: 23.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=74): time 2.044e-06/0.4451, allocations: 0 / 0.5724 GB, free: 23.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.005212/0.4503, allocations: 2.716 MB / 0.5751 GB, free: 22.25 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.402e-05/0.4504, allocations: 140.3 kB / 0.5752 GB, free: 22.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.4517, allocations: 0.8345 MB / 0.576 GB, free: 21.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.4518, allocations: 43.83 kB / 0.5761 GB, free: 21.73 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000575/0.4523, allocations: 0.636 MB / 0.5767 GB, free: 21.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002201/0.4526, allocations: 276.1 kB / 0.577 GB, free: 21.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.4528, allocations: 156.4 kB / 0.5771 GB, free: 21.05 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.453, allocations: 403.3 kB / 0.5775 GB, free: 20.7 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007095/0.4537, allocations: 406.8 kB / 0.5779 GB, free: 20.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008359/0.4545, allocations: 0.6013 MB / 0.5785 GB, free: 20.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.456, allocations: 1.001 MB / 0.5795 GB, free: 19.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.456, allocations: 1.594 kB / 0.5795 GB, free: 19.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002407/0.4584, allocations: 1.243 MB / 0.5807 GB, free: 19.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.381e-05/0.4585, allocations: 8.531 kB / 0.5807 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.4585, allocations: 5.75 kB / 0.5807 GB, free: 19.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005924/0.4591, allocations: 173.7 kB / 0.5809 GB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007578/0.4598, allocations: 153.9 kB / 0.581 GB, free: 19.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/0.4643, allocations: 2.901 MB / 0.5838 GB, free: 17.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009927/0.4653, allocations: 53.31 kB / 0.5839 GB, free: 17.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/0.4653, allocations: 26.23 kB / 0.5839 GB, free: 17.16 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[1],switch.control[2],switch.control[3]) * 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.001532/0.4669, allocations: 0.5684 MB / 0.5845 GB, free: 16.86 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002669/0.4671, allocations: 91.47 kB / 0.5846 GB, free: 16.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.4674, allocations: 111.9 kB / 0.5847 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.326e-05/0.4674, allocations: 7.406 kB / 0.5847 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.739e-05/0.4675, allocations: 4.25 kB / 0.5847 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.4675, allocations: 6 kB / 0.5847 GB, free: 16.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/0.4731, allocations: 2.637 MB / 0.5873 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.4731, allocations: 2.203 kB / 0.5873 GB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005359/0.4736, allocations: 114.1 kB / 0.5874 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000403/0.474, allocations: 164.3 kB / 0.5875 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/0.4741, allocations: 25.36 kB / 0.5875 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003263/0.4774, allocations: 2.857 MB / 0.5903 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.4774, allocations: 5.5 kB / 0.5903 GB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/0.4809, allocations: 1.732 MB / 0.592 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007158/0.4816, allocations: 190.6 kB / 0.5922 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001517/0.4817, allocations: 30.98 kB / 0.5922 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.4822, allocations: 48.33 kB / 0.5923 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/0.4824, allocations: 80.77 kB / 0.5924 GB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-05/0.4825, allocations: 24.55 kB / 0.5924 GB, free: 12.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001038/0.4835, allocations: 0.5882 MB / 0.593 GB, free: 11.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4835, allocations: 0 / 0.593 GB, free: 11.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001544/0.4851, allocations: 272.9 kB / 0.5932 GB, free: 11.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (rootMeanSquare[3].mean.x,rootMeanSquare[2].mean.x,rootMeanSquare[1].mean.x,inductorLoad.inductor[3].i,inductor.inductor[3].i,inductor.inductor[1].i) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquare[3].mean.y_last,rootMeanSquare[2].mean.y_last,rootMeanSquare[1].mean.y_last,switch.control[3],switch.control[2],switch.control[1]) * 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.003033/0.4881, allocations: 2.294 MB / 0.5955 GB, free: 10.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.4908, allocations: 1.117 MB / 0.5966 GB, free: 9.578 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.4908, allocations: 4.062 kB / 0.5966 GB, free: 9.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.4924, allocations: 0.6629 MB / 0.5972 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001443/0.4938, allocations: 224.2 kB / 0.5974 GB, free: 9.082 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01234/0.5061, allocations: 10.21 MB / 0.6074 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/0.5072, allocations: 1.512 MB / 0.6089 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006583/0.5078, allocations: 230.5 kB / 0.6091 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/0.5085, allocations: 463.3 kB / 0.6095 GB, free: 14.72 MB / 398.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5085, allocations: 4 kB / 0.6095 GB, free: 14.72 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06826/0.5767, allocations: 25.25 MB / 0.6342 GB, free: 5.738 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.26/14.84, allocations: 11.83 kB / 0.6342 GB, free: 5.73 MB / 414.1 MB " [Timeout remaining time 645] (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: 18.404243284021504] Failed to read output from testmodel.py, exit status != 0: 15.016594897024333 15.045902648 14.886425742 Calling exit ...