Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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/Complex 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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3",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.001038/0.001038, allocations: 100.9 kB / 16.5 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.22/1.22, allocations: 222.9 MB / 241.1 MB, free: 15.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1632/0.1632, allocations: 38.04 MB / 329.3 MB, free: 9.121 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 58.67 kB / 398.2 MB, free: 34.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08898/0.09009, allocations: 58.06 MB / 456.3 MB, free: 8.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003177/0.0933, allocations: 2.084 MB / 458.3 MB, free: 6.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000667/0.09398, allocations: 0.5261 MB / 458.9 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.175e-05/0.09403, allocations: 7.875 kB / 458.9 MB, free: 5.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.09415, allocations: 7.984 kB / 458.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.315e-05/0.09424, allocations: 23.84 kB / 458.9 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.09449, allocations: 67.91 kB / 459 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.09461, allocations: 115.6 kB / 459.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.09465, allocations: 7.984 kB / 459.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.996e-05/0.09472, allocations: 19.88 kB / 459.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.875e-05/0.09477, allocations: 31.89 kB / 459.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.867e-06/0.09479, allocations: 0 / 459.1 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.09494, allocations: 79.83 kB / 459.2 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.605e-05/0.095, allocations: 43.84 kB / 459.3 MB, free: 5.445 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.164e-05/0.09506, allocations: 39.56 kB / 459.3 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.09526, allocations: 163.7 kB / 459.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.09527, allocations: 0 / 459.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.09528, allocations: 0 / 459.5 MB, free: 5.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.09528, allocations: 3.938 kB / 459.5 MB, free: 5.242 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004235/0.09571, allocations: 480.5 kB / 459.9 MB, free: 4.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.09575, allocations: 8.031 kB / 459.9 MB, free: 4.711 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.693e-05/0.09579, allocations: 46.73 kB / 460 MB, free: 4.656 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.09583, allocations: 12.75 kB / 460 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.096, allocations: 208.3 kB / 460.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.09602, allocations: 0 / 460.2 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.09604, allocations: 4 kB / 460.2 MB, free: 4.398 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.09619, allocations: 126.6 kB / 460.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-06/0.09621, allocations: 0 / 460.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.09622, allocations: 0 / 460.3 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.09623, allocations: 4 kB / 460.3 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.263e-05/0.09631, allocations: 92.3 kB / 460.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001503/0.09647, allocations: 202 kB / 460.6 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.0966, allocations: 150.8 kB / 460.8 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.09672, allocations: 145.2 kB / 460.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.09673, allocations: 0 / 460.9 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.09676, allocations: 34.56 kB / 460.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 9.11e-07/0.09676, allocations: 0 / 460.9 MB, free: 3.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0004773/0.09724, allocations: 479.5 kB / 461.4 MB, free: 3.105 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.63e-05/0.09731, allocations: 105.1 kB / 461.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.09742, allocations: 152.7 kB / 461.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.09744, allocations: 25.7 kB / 461.7 MB, free: 2.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.09756, allocations: 96.83 kB / 461.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.09765, allocations: 137.9 kB / 461.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.0977, allocations: 33.7 kB / 461.9 MB, free: 2.512 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.09786, allocations: 334.8 kB / 462.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.897e-05/0.09794, allocations: 95.89 kB / 462.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.45e-05/0.09803, allocations: 96.95 kB / 462.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.0983, allocations: 364.4 kB / 462.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.09831, allocations: 0 / 462.8 MB, free: 1.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003488/0.09867, allocations: 335 kB / 463.1 MB, free: 1.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.27e-05/0.09875, allocations: 83.67 kB / 463.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-06/0.09876, allocations: 0 / 463.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.218e-06/0.09877, allocations: 0 / 463.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.11e-07/0.09877, allocations: 0 / 463.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.09878, allocations: 0 / 463.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.442e-05/0.09883, allocations: 27.73 kB / 463.3 MB, free: 1.164 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.09886, allocations: 4 kB / 463.3 MB, free: 1.16 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001753/0.09904, allocations: 235.3 kB / 463.5 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.09907, allocations: 23.84 kB / 463.5 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.704e-05/0.0991, allocations: 13.95 kB / 463.5 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.0991, allocations: 3.984 kB / 463.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.09911, allocations: 0 / 463.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-06/0.09912, allocations: 0 / 463.5 MB, free: 0.875 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.09934, allocations: 237.1 kB / 463.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.09935, allocations: 0 / 463.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/0.09935, allocations: 4 kB / 463.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.09936, allocations: 0 / 463.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.09938, allocations: 8 kB / 463.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.09938, allocations: 0 / 463.8 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.09939, allocations: 4 kB / 463.8 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007884/0.1002, allocations: 0.8965 MB / 464.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.495e-05/0.1002, allocations: 100.8 kB / 464.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.1003, allocations: 4 kB / 464.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.18e-05/0.1003, allocations: 8 kB / 464.8 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.1003, allocations: 7.984 kB / 464.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1004, allocations: 8 kB / 464.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.39e-05/0.1004, allocations: 122.2 kB / 464.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1004, allocations: 0 / 464.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002477/0.1007, allocations: 64 kB / 465 MB, free: 15.33 MB / 350.1 MB 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.1019, allocations: 1.449 MB / 466.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.1032, allocations: 1.581 MB / 468 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1032, allocations: 8.094 kB / 468 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008962/0.1041, allocations: 1.362 MB / 469.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1044, allocations: 31.92 kB / 469.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002959/0.1073, allocations: 3.49 MB / 472.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1076, allocations: 0.7442 MB / 473.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.747e-05/0.1076, allocations: 0 / 473.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.485e-05/0.1077, allocations: 47.41 kB / 473.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1077, allocations: 4.031 kB / 473.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01287/0.1206, allocations: 4.43 MB / 478.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.1208, allocations: 219 kB / 478.3 MB, free: 1.895 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.783/1.903, allocations: 0 / 478.3 MB, free: 1.895 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc3.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches