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.001293/0.001293, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.001444/0.001444, allocations: 190 kB / 17.55 MB, free: 5.934 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.292/1.292, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1626/0.1626, allocations: 38.04 MB / 329.4 MB, free: 9.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 61.89 kB / 398.4 MB, free: 34.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.08895, allocations: 58.06 MB / 456.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003376/0.09236, allocations: 2.084 MB / 458.5 MB, free: 6.223 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006797/0.09306, allocations: 0.5299 MB / 459.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.337e-05/0.09311, allocations: 0 / 459.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.09323, allocations: 7.984 kB / 459.1 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.54e-05/0.09332, allocations: 23.84 kB / 459.1 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.09359, allocations: 67.84 kB / 459.2 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.09371, allocations: 63.77 kB / 459.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.09375, allocations: 0 / 459.2 MB, free: 5.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.186e-05/0.09383, allocations: 35.84 kB / 459.3 MB, free: 5.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.368e-05/0.09389, allocations: 31.91 kB / 459.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.09391, allocations: 0 / 459.3 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001355/0.09405, allocations: 75.83 kB / 459.4 MB, free: 5.391 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.09411, allocations: 43.84 kB / 459.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.09415, allocations: 43.55 kB / 459.5 MB, free: 5.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.09433, allocations: 147.7 kB / 459.6 MB, free: 5.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.09434, allocations: 3.984 kB / 459.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09435, allocations: 0 / 459.6 MB, free: 5.156 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.09436, allocations: 0 / 459.6 MB, free: 5.156 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.0003959/0.09476, allocations: 488.5 kB / 460.1 MB, free: 4.625 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.0948, allocations: 11.89 kB / 460.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.33e-05/0.09485, allocations: 46.73 kB / 460.1 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.077e-05/0.09488, allocations: 12.75 kB / 460.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001603/0.09505, allocations: 205.2 kB / 460.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-06/0.09506, allocations: 0 / 460.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.448e-06/0.09508, allocations: 0 / 460.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.09526, allocations: 130.6 kB / 460.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.09528, allocations: 0 / 460.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.09529, allocations: 11.98 kB / 460.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.0953, allocations: 0 / 460.5 MB, free: 4.164 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.61e-05/0.0954, allocations: 96.23 kB / 460.6 MB, free: 4.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/0.09556, allocations: 202 kB / 460.8 MB, free: 3.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.0957, allocations: 146.9 kB / 460.9 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.09581, allocations: 141.2 kB / 461.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.152e-06/0.09582, allocations: 4 kB / 461.1 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.09585, allocations: 34.56 kB / 461.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 9.72e-07/0.09585, allocations: 0 / 461.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005045/0.09636, allocations: 475.6 kB / 461.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.09643, allocations: 109.1 kB / 461.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.09654, allocations: 148.7 kB / 461.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.09656, allocations: 25.7 kB / 461.8 MB, free: 2.691 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.298e-05/0.09661, allocations: 96.8 kB / 461.9 MB, free: 2.59 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9e-05/0.09671, allocations: 130 kB / 462.1 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.09675, allocations: 33.73 kB / 462.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.09686, allocations: 346.7 kB / 462.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.338e-05/0.09695, allocations: 87.97 kB / 462.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.418e-05/0.09703, allocations: 92.95 kB / 462.6 MB, free: 1.898 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.0973, allocations: 368.4 kB / 463 MB, free: 1.523 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09731, allocations: 3.938 kB / 463 MB, free: 1.52 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002815/0.0976, allocations: 323 kB / 463.3 MB, free: 1.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.291e-05/0.09768, allocations: 85.62 kB / 463.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.09769, allocations: 0 / 463.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/0.0977, allocations: 64 / 463.4 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.09771, allocations: 4 kB / 463.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.09772, allocations: 4 kB / 463.4 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.841e-05/0.09777, allocations: 19.75 kB / 463.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.0978, allocations: 4 kB / 463.4 MB, free: 1.07 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.0001728/0.09798, allocations: 239.3 kB / 463.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.941e-05/0.09801, allocations: 19.81 kB / 463.7 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.527e-05/0.09803, allocations: 9.969 kB / 463.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.09804, allocations: 0 / 463.7 MB, free: 0.793 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.09805, allocations: 11.98 kB / 463.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-06/0.09806, allocations: 0 / 463.7 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.09821, allocations: 241.1 kB / 463.9 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.09822, allocations: 4 kB / 463.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.09822, allocations: 0 / 463.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.09823, allocations: 0 / 463.9 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.09825, allocations: 4 kB / 463.9 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.09825, allocations: 0 / 463.9 MB, free: 500 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.09826, allocations: 4 kB / 463.9 MB, free: 496 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008533/0.09912, allocations: 0.9043 MB / 464.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.985e-05/0.0992, allocations: 96.77 kB / 464.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.09923, allocations: 4 kB / 464.9 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.334e-05/0.09927, allocations: 8 kB / 464.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.0993, allocations: 8 kB / 464.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.09932, allocations: 4 kB / 465 MB, free: 15.42 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.437e-05/0.0994, allocations: 118 kB / 465.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.09941, allocations: 0 / 465.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.09966, allocations: 64 kB / 465.1 MB, free: 15.24 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.001167/0.1008, allocations: 1.453 MB / 466.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.1021, allocations: 1.585 MB / 468.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1021, allocations: 0 / 468.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009124/0.103, allocations: 1.37 MB / 469.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.1033, allocations: 39.95 kB / 469.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.1066, allocations: 3.488 MB / 473.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.1069, allocations: 0.7478 MB / 473.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.252e-05/0.1069, allocations: 0 / 473.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.107, allocations: 39.42 kB / 473.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of SimCode: time 4.7e-07/0.107, allocations: 4 kB / 473.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0154/0.1224, allocations: 4.733 MB / 478.6 MB, free: 1.762 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.1226, allocations: 215.3 kB / 478.8 MB, free: 1.512 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/1.966, allocations: 0 / 478.8 MB, free: 1.512 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches