Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1",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.0009083/0.0009083, allocations: 91.06 kB / 16.65 MB, free: 6.535 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.001016/0.001016, allocations: 174.5 kB / 17.56 MB, free: 6.184 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.281/1.281, allocations: 223.2 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1661/0.1661, allocations: 38.09 MB / 330.8 MB, free: 8.516 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002848/0.0002848, allocations: 8 kB / 400.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09116/0.09146, allocations: 59.17 MB / 460 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002054/0.09355, allocations: 1.752 MB / 461.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006586/0.09422, allocations: 0.5261 MB / 462.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.818e-05/0.09426, allocations: 0 / 462.3 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.09438, allocations: 11.92 kB / 462.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.0945, allocations: 23.89 kB / 462.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.09472, allocations: 59.84 kB / 462.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.09485, allocations: 119.6 kB / 462.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.09489, allocations: 8 kB / 462.5 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.09496, allocations: 23.91 kB / 462.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.09502, allocations: 31.84 kB / 462.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.566e-06/0.09504, allocations: 0 / 462.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.09518, allocations: 71.84 kB / 462.6 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.7e-05/0.09523, allocations: 19.92 kB / 462.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.09528, allocations: 45.52 kB / 462.7 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.09543, allocations: 115.9 kB / 462.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.09544, allocations: 0 / 462.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09545, allocations: 0 / 462.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.09546, allocations: 0 / 462.8 MB, free: 4.109 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002954/0.09576, allocations: 397 kB / 463.2 MB, free: 3.668 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.0958, allocations: 8.031 kB / 463.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.179e-05/0.09584, allocations: 34.75 kB / 463.2 MB, free: 3.617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.09587, allocations: 8.844 kB / 463.2 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.09601, allocations: 184.2 kB / 463.4 MB, free: 3.391 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.09603, allocations: 4.312 kB / 463.4 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.09605, allocations: 7.938 kB / 463.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.09616, allocations: 61.61 kB / 463.5 MB, free: 3.312 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.09617, allocations: 8 kB / 463.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-06/0.09619, allocations: 0 / 463.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.09619, allocations: 0 / 463.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.204e-05/0.09624, allocations: 27.98 kB / 463.5 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001237/0.09637, allocations: 161.6 kB / 463.7 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.981e-05/0.09645, allocations: 66.44 kB / 463.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.394e-05/0.0965, allocations: 44.81 kB / 463.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.09651, allocations: 0 / 463.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.09654, allocations: 42.56 kB / 463.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 9.12e-07/0.09655, allocations: 0 / 463.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002334/0.09679, allocations: 175.2 kB / 464 MB, free: 2.715 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.09685, allocations: 93.27 kB / 464.1 MB, free: 2.605 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.039e-05/0.09694, allocations: 121.8 kB / 464.2 MB, free: 2.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.09695, allocations: 25.7 kB / 464.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.725e-05/0.097, allocations: 92.14 kB / 464.3 MB, free: 2.352 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.09704, allocations: 39.44 kB / 464.3 MB, free: 2.312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.411e-05/0.09707, allocations: 17.75 kB / 464.4 MB, free: 2.289 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.916e-05/0.09717, allocations: 318.8 kB / 464.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.821e-05/0.09722, allocations: 31.98 kB / 464.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.285e-05/0.09726, allocations: 27.98 kB / 464.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.09739, allocations: 152.2 kB / 464.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.0974, allocations: 0 / 464.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000146/0.09755, allocations: 148.1 kB / 465 MB, free: 1.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.154e-05/0.0976, allocations: 49.62 kB / 465.1 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.09761, allocations: 3.938 kB / 465.1 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.09763, allocations: 8.047 kB / 465.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.81e-07/0.09763, allocations: 0 / 465.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.09764, allocations: 0 / 465.1 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.09767, allocations: 7.906 kB / 465.1 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.09769, allocations: 8 kB / 465.1 MB, free: 1.508 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.0001098/0.09781, allocations: 167.5 kB / 465.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.46e-05/0.09783, allocations: 7.906 kB / 465.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.578e-05/0.09785, allocations: 16.36 kB / 465.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.09785, allocations: 0 / 465.3 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.09786, allocations: 4 kB / 465.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.09787, allocations: 0 / 465.3 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.09799, allocations: 177.5 kB / 465.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.09799, allocations: 0 / 465.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.098, allocations: 0 / 465.5 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.09801, allocations: 3.938 kB / 465.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.09802, allocations: 7.984 kB / 465.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.09803, allocations: 0 / 465.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.09803, allocations: 0 / 465.5 MB, free: 1.062 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.09833, allocations: 282.5 kB / 465.8 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.787e-05/0.09838, allocations: 85.02 kB / 465.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.0984, allocations: 0 / 465.8 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.876e-05/0.09842, allocations: 7.938 kB / 465.8 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.09845, allocations: 4 kB / 465.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.09846, allocations: 7.984 kB / 465.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.053e-05/0.09852, allocations: 99.2 kB / 466 MB, free: 0.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09853, allocations: 0 / 466 MB, free: 0.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.09875, allocations: 28 kB / 466 MB, free: 0.5156 MB / 334.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.0005959/0.09935, allocations: 0.8248 MB / 466.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003027/0.09967, allocations: 291.2 kB / 467.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.09968, allocations: 0 / 467.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.0999, allocations: 223.3 kB / 467.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.1001, allocations: 16.16 kB / 467.3 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.1017, allocations: 1.775 MB / 469.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1019, allocations: 0.6965 MB / 469.8 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.647e-05/0.1019, allocations: 4 kB / 469.8 MB, free: 12.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.829e-05/0.102, allocations: 19.42 kB / 469.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.102, allocations: 7.969 kB / 469.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.1128, allocations: 2.279 MB / 472.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.113, allocations: 211 kB / 472.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.762, allocations: 3.938 kB / 472.3 MB, free: 10.12 MB / 350.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Precalculation_Z_matrixEqCirc1.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches