Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.Display.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.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",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.001585/0.001585, allocations: 103.6 kB / 16.62 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.001848/0.001848, allocations: 193.8 kB / 17.55 MB, free: 5.941 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.278/1.278, 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.1661/0.1661, allocations: 38.04 MB / 329.4 MB, free: 9.043 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 69.48 kB / 398.4 MB, free: 34.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09433/0.09554, allocations: 58.06 MB / 456.5 MB, free: 8.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008805/0.1044, allocations: 7.673 MB / 464.1 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004087/0.1085, allocations: 2.321 MB / 466.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007156/0.1093, allocations: 43.75 kB / 466.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.1112, allocations: 0.6841 MB / 467.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.1129, allocations: 0.5292 MB / 467.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006754/0.1135, allocations: 215.7 kB / 467.9 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1148, allocations: 1.145 MB / 469.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009919/0.1158, allocations: 0.6499 MB / 469.7 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008769/0.1167, allocations: 0.5058 MB / 470.2 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.118, allocations: 0.6776 MB / 470.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002194/0.1182, allocations: 68 kB / 471 MB, free: 9.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006968/0.1189, allocations: 267.7 kB / 471.2 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005794/0.1195, allocations: 486.9 kB / 471.7 MB, free: 9.023 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008951/0.1204, allocations: 497.5 kB / 472.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001426/0.1218, allocations: 1.16 MB / 473.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.1218, allocations: 0 / 473.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1219, allocations: 0 / 473.3 MB, free: 7.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.188e-05/0.1219, allocations: 0 / 473.3 MB, free: 7.371 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 232 * Number of variables: 232 Notification: Performance of Generate backend data structure: time 0.002279/0.1242, allocations: 1.215 MB / 474.6 MB, free: 6.105 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.1243, allocations: 15.83 kB / 474.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001923/0.1245, allocations: 143.9 kB / 474.7 MB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/0.1255, allocations: 163.6 kB / 474.9 MB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.1265, allocations: 0.5928 MB / 475.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.868e-05/0.1266, allocations: 62.38 kB / 475.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.1268, allocations: 99.84 kB / 475.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001838/0.1287, allocations: 1.157 MB / 476.8 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/0.1287, allocations: 11.84 kB / 476.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.708e-05/0.1288, allocations: 35.98 kB / 476.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.129, allocations: 85.95 kB / 476.9 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.1307, allocations: 0.999 MB / 477.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/0.1364, allocations: 4.37 MB / 482.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.1375, allocations: 0.6232 MB / 482.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/0.138, allocations: 321.5 kB / 483.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.138, allocations: 4.562 kB / 483.2 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.1381, allocations: 39.12 kB / 483.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.895e-06/0.1381, allocations: 3.938 kB / 483.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=64): time 0.002929/0.141, allocations: 1.742 MB / 485 MB, free: 11.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.1411, allocations: 89.8 kB / 485.1 MB, free: 11.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005822/0.1417, allocations: 0.5455 MB / 485.6 MB, free: 10.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.1417, allocations: 37.7 kB / 485.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000297/0.142, allocations: 438.8 kB / 486.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001827/0.1422, allocations: 216.9 kB / 486.3 MB, free: 9.871 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002304/0.1425, allocations: 190.5 kB / 486.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1426, allocations: 374.8 kB / 486.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004626/0.1431, allocations: 289.8 kB / 487.2 MB, free: 9.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006579/0.1438, allocations: 0.6153 MB / 487.8 MB, free: 8.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.145, allocations: 0.9653 MB / 488.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.145, allocations: 4 kB / 488.7 MB, free: 7.141 MB / 366.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00204/0.1471, allocations: 1.168 MB / 489.9 MB, free: 5.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.1471, allocations: 15.98 kB / 489.9 MB, free: 5.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001336/0.1485, allocations: 0.7144 MB / 490.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007305/0.1492, allocations: 222.3 kB / 490.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/0.1499, allocations: 215.7 kB / 491.1 MB, free: 4.773 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004748/0.1547, allocations: 5.377 MB / 496.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/0.1553, allocations: 35.92 kB / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.965e-05/0.1554, allocations: 47.94 kB / 496.5 MB, free: 14.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 33 (system.initime,phasor_cap.color_n[3],phasor_cap.color_n[1],phasor_cap.color_p[3],phasor_cap.color_p[1],phasor_ind.color_n[3],phasor_ind.color_n[1],phasor_ind.color_p[3],phasor_ind.color_p[1],phasor_cap.color2[3],phasor_cap.color2[2],phasor_cap.color2[1],phasor_cap.color1[3],phasor_cap.color1[2],phasor_cap.color1[1],phasor_cap.colorR[3],phasor_cap.colorR[2],phasor_cap.colorR[1],phasor_cap.colorL[3],phasor_cap.colorL[2],phasor_cap.colorL[1],phasor_ind.color2[3],phasor_ind.color2[2],phasor_ind.color2[1],phasor_ind.color1[3],phasor_ind.color1[2],phasor_ind.color1[1],phasor_ind.colorR[3],phasor_ind.colorR[2],phasor_ind.colorR[1],phasor_ind.colorL[3],phasor_ind.colorL[2],phasor_ind.colorL[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (2,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004869/0.1559, allocations: 349.5 kB / 496.9 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.156, allocations: 67.09 kB / 496.9 MB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.1571, allocations: 0.6538 MB / 497.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1571, allocations: 8 kB / 497.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.1571, allocations: 0 / 497.6 MB, free: 13.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.1571, allocations: 8 kB / 497.6 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.1596, allocations: 1.531 MB / 499.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.1596, allocations: 160 / 499.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007995/0.1604, allocations: 175.8 kB / 499.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.1604, allocations: 4 kB / 499.3 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-05/0.1604, allocations: 19.98 kB / 499.3 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.1605, allocations: 4 kB / 499.3 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1605, allocations: 0 / 499.3 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.1619, allocations: 1.029 MB / 0.4886 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.1622, allocations: 176.2 kB / 0.4888 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.1622, allocations: 23.98 kB / 0.4888 GB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.1626, allocations: 20 kB / 0.4888 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1627, allocations: 48.38 kB / 0.4889 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.11e-05/0.1627, allocations: 23.98 kB / 0.4889 GB, free: 10.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004026/0.1631, allocations: 354.8 kB / 0.4892 GB, free: 10.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1631, allocations: 4 kB / 0.4892 GB, free: 10.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000865/0.164, allocations: 220 kB / 0.4895 GB, free: 10.06 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (ind.i[1],ind.i[2],ind.i[3],cap.v[1],cap.v[2],cap.v[3]) * Number of discrete variables: 9 (system.initime,phasor_ind.color_p[1],phasor_ind.color_p[3],phasor_ind.color_n[1],phasor_ind.color_n[3],phasor_cap.color_p[1],phasor_cap.color_p[3],phasor_cap.color_n[1],phasor_cap.color_n[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001752/0.1658, allocations: 1.591 MB / 0.491 GB, free: 8.426 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.168, allocations: 1.294 MB / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.168, allocations: 0 / 0.4923 GB, free: 7.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/0.1685, allocations: 320 kB / 0.4926 GB, free: 6.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.1694, allocations: 157.1 kB / 0.4927 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.1796, allocations: 7.616 MB / 0.5002 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006578/0.1803, allocations: 1.067 MB / 0.5012 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006395/0.1809, allocations: 233.5 kB / 0.5014 GB, free: 13.24 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.1813, allocations: 303.3 kB / 0.5017 GB, free: 12.95 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1813, allocations: 0 / 0.5017 GB, free: 12.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2001/0.3814, allocations: 15.05 MB / 0.5164 GB, free: 70.16 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/0.3816, allocations: 217 kB / 0.5166 GB, free: 69.91 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.156/2.537, allocations: 5.938 kB / 0.5166 GB, free: 69.91 MB / 398.1 MB (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_Display_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Display_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Display.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.Display.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches