Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.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(OpenIPSL.Tests.ThreePhase.IEEE4,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.ThreePhase.IEEE4,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 91.38 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.3 MB / 239.4 MB, free: 5.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 188.4 kB / 290.6 MB, free: 2.18 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5149/0.5149, allocations: 91.92 MB / 433.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000396/0.000396, allocations: 16 kB / 0.5049 GB, free: 7.168 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4057, allocations: 72.45 MB / 0.5756 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.ThreePhase.IEEE4): time 0.003782/0.4096, allocations: 5.442 MB / 0.5809 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004146/0.4137, allocations: 2.937 MB / 0.5838 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.4141, allocations: 8.562 kB / 0.5838 GB, free: 30.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.4144, allocations: 132.5 kB / 0.5839 GB, free: 30.92 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004124/0.4185, allocations: 3.72 MB / 0.5876 GB, free: 30.36 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.4189, allocations: 127 kB / 0.5877 GB, free: 30.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.4204, allocations: 1.399 MB / 0.5891 GB, free: 29.71 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000513/0.4209, allocations: 352.5 kB / 0.5894 GB, free: 29.55 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008832/0.4218, allocations: 0.6178 MB / 0.59 GB, free: 29.35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.4235, allocations: 1.617 MB / 0.5916 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003854/0.4239, allocations: 128.5 kB / 0.5917 GB, free: 28.96 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.4372, allocations: 11.03 MB / 0.6025 GB, free: 26.6 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001432/0.4387, allocations: 0.9937 MB / 0.6035 GB, free: 26.26 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001646/0.4403, allocations: 1.317 MB / 0.6047 GB, free: 25.44 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.4536, allocations: 9.753 MB / 0.6143 GB, free: 19.46 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.902e-06/0.4536, allocations: 1.406 kB / 0.6143 GB, free: 19.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4536, allocations: 7.938 kB / 0.6143 GB, free: 19.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001044/0.4537, allocations: 0 / 0.6143 GB, free: 19.45 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01227/0.466, allocations: 4.389 MB / 0.6186 GB, free: 16.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4661, allocations: 14.02 kB / 0.6186 GB, free: 16.76 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007211/0.4668, allocations: 162.6 kB / 0.6187 GB, free: 16.63 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000883/0.4677, allocations: 293.8 kB / 0.619 GB, free: 16.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/0.4707, allocations: 2.214 MB / 0.6212 GB, free: 14.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.367e-05/0.4707, allocations: 66.36 kB / 0.6212 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002826/0.471, allocations: 80.12 kB / 0.6213 GB, free: 14.71 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003231/0.4743, allocations: 2.679 MB / 0.6239 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.4743, allocations: 0 / 0.6239 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.4745, allocations: 35.98 kB / 0.624 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001452/0.4746, allocations: 162.2 kB / 0.6241 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006734/0.4814, allocations: 5.118 MB / 0.6291 GB, free: 6.695 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01848/0.4999, allocations: 12.3 MB / 0.6411 GB, free: 9.836 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.5025, allocations: 2.02 MB / 0.6431 GB, free: 7.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.5044, allocations: 1.479 MB / 0.6445 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.5045, allocations: 8.656 kB / 0.6445 GB, free: 6.262 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.5045, allocations: 47.2 kB / 0.6446 GB, free: 6.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=84): time 2.785e-06/0.5045, allocations: 0 / 0.6446 GB, free: 6.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=84): time 0.03998/0.5445, allocations: 13.06 MB / 0.6573 GB, free: 9.102 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.5446, allocations: 60.06 kB / 0.6574 GB, free: 9.031 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006994/0.5516, allocations: 3.98 MB / 0.6613 GB, free: 5.035 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004635/0.5521, allocations: 41.69 kB / 0.6613 GB, free: 4.988 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.5532, allocations: 1.225 MB / 0.6625 GB, free: 3.754 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005578/0.5537, allocations: 295.7 kB / 0.6628 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.5539, allocations: 81.67 kB / 0.6629 GB, free: 3.375 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5541, allocations: 345.9 kB / 0.6632 GB, free: 3.031 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002008/0.5561, allocations: 1.337 MB / 0.6645 GB, free: 1.695 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002081/0.5582, allocations: 1.531 MB / 0.666 GB, free: 84 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003837/0.562, allocations: 2.937 MB / 0.6689 GB, free: 13.06 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.5621, allocations: 4 kB / 0.6689 GB, free: 13.06 MB / 478.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.01542/0.5775, allocations: 6.422 MB / 0.6752 GB, free: 6.621 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.5775, allocations: 8 kB / 0.6752 GB, free: 6.613 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.5776, allocations: 4 kB / 0.6752 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02086/0.5984, allocations: 5.893 MB / 0.6809 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007331/0.5992, allocations: 127.8 kB / 0.681 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01055/0.6098, allocations: 5.498 MB / 0.6864 GB, free: 11.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/0.6123, allocations: 167 kB / 0.6866 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.6125, allocations: 39.98 kB / 0.6866 GB, free: 10.86 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001521/0.614, allocations: 0.7473 MB / 0.6873 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005762/0.6146, allocations: 252.7 kB / 0.6876 GB, free: 9.848 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01671/0.6313, allocations: 6.966 MB / 0.6944 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.507e-05/0.6314, allocations: 12 kB / 0.6944 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6314, allocations: 4 kB / 0.6944 GB, free: 2.844 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.6314, allocations: 3.984 kB / 0.6944 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02248/0.6539, allocations: 10.44 MB / 0.7046 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.6539, allocations: 0 / 0.7046 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004214/0.6544, allocations: 63.89 kB / 0.7047 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02008/0.6744, allocations: 5.475 MB / 0.71 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003049/0.6748, allocations: 20 kB / 0.71 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01038/0.6852, allocations: 5.465 MB / 0.7154 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6852, allocations: 3.938 kB / 0.7154 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01786/0.7031, allocations: 7.057 MB / 0.7223 GB, free: 6.164 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/0.7047, allocations: 0.6146 MB / 0.7229 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005855/0.7053, allocations: 12 kB / 0.7229 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/0.7068, allocations: 99.89 kB / 0.723 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.7071, allocations: 40.59 kB / 0.723 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.7072, allocations: 16 kB / 0.723 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00439/0.7116, allocations: 2.891 MB / 0.7258 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.093e-06/0.7116, allocations: 0 / 0.7258 GB, free: 2.469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006157/0.7178, allocations: 1.194 MB / 0.727 GB, free: 1.273 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02348/0.7413, allocations: 7.941 MB / 0.7348 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009586/0.7509, allocations: 4.189 MB / 0.7389 GB, free: 5.102 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.7509, allocations: 4 kB / 0.7389 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006886/0.7578, allocations: 2.647 MB / 0.7414 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.7602, allocations: 187.2 kB / 0.7416 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3252/1.085, allocations: 34.44 MB / 0.7753 GB, free: 168.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/1.087, allocations: 1.72 MB / 0.7769 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001584/1.089, allocations: 441.1 kB / 0.7774 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001467/1.09, allocations: 1.011 MB / 0.7783 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.162e-06/1.09, allocations: 0 / 0.7783 GB, free: 167.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/1.228, allocations: 77.75 MB / 0.8543 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000157/1.228, allocations: 206.3 kB / 0.8545 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.478/4.706, allocations: 0 / 0.8545 GB, free: 115.9 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_ThreePhase_IEEE4.fmu > OpenIPSL_dev_OpenIPSL.Tests.ThreePhase.IEEE4.pipe 2>&1)