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.001282/0.001282, allocations: 109.8 kB / 17.06 MB, free: 5.957 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.001266/0.001266, allocations: 197.3 kB / 18 MB, free: 5.035 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.426/1.426, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1864/0.1864, allocations: 38.05 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 63.91 kB / 457.6 MB, free: 7.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3179, allocations: 58.06 MB / 0.5036 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.006593/0.3246, allocations: 6.649 MB / 0.5101 GB, free: 3.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00301/0.3276, allocations: 2.01 MB / 0.5121 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004061/0.3281, allocations: 27.31 kB / 0.5121 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00163/0.3298, allocations: 0.7139 MB / 0.5128 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001404/0.3312, allocations: 0.5715 MB / 0.5133 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007052/0.3319, allocations: 250.1 kB / 0.5136 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001325/0.3332, allocations: 1.146 MB / 0.5147 GB, free: 296 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007589/0.334, allocations: 0.5861 MB / 0.5153 GB, free: 48 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009542/0.335, allocations: 0.5172 MB / 0.5158 GB, free: 15.8 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001076/0.336, allocations: 0.6104 MB / 0.5164 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.3362, allocations: 68.09 kB / 0.5164 GB, free: 15.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006834/0.3369, allocations: 266.8 kB / 0.5167 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006157/0.3375, allocations: 478.8 kB / 0.5172 GB, free: 15.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007728/0.3383, allocations: 0.4908 MB / 0.5176 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.3399, allocations: 1.187 MB / 0.5188 GB, free: 14.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3399, allocations: 4 kB / 0.5188 GB, free: 14.62 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3399, allocations: 0 / 0.5188 GB, free: 14.62 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.34, allocations: 3.938 kB / 0.5188 GB, free: 14.62 MB / 398.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.002517/0.3425, allocations: 1.23 MB / 0.52 GB, free: 13.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3425, allocations: 15.31 kB / 0.52 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000205/0.3428, allocations: 142.9 kB / 0.5202 GB, free: 13.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.3438, allocations: 176.5 kB / 0.5203 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001301/0.3452, allocations: 0.6232 MB / 0.5209 GB, free: 13.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.652e-05/0.3452, allocations: 69.02 kB / 0.521 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.3455, allocations: 95.69 kB / 0.5211 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.3474, allocations: 1.151 MB / 0.5222 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.398e-05/0.3475, allocations: 6.688 kB / 0.5222 GB, free: 12.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.3476, allocations: 36.8 kB / 0.5222 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001839/0.3478, allocations: 87.58 kB / 0.5223 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.3496, allocations: 1.001 MB / 0.5233 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007174/0.3568, allocations: 4.353 MB / 0.5276 GB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.3581, allocations: 0.6229 MB / 0.5282 GB, free: 9.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004901/0.3586, allocations: 311.2 kB / 0.5285 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.559e-05/0.3587, allocations: 10.86 kB / 0.5285 GB, free: 8.996 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3587, allocations: 42.64 kB / 0.5285 GB, free: 8.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=63): time 2.996e-06/0.3587, allocations: 1.25 kB / 0.5285 GB, free: 8.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=64): time 0.003245/0.362, allocations: 1.764 MB / 0.5302 GB, free: 7.949 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.3621, allocations: 89.3 kB / 0.5303 GB, free: 7.852 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006407/0.3627, allocations: 0.5456 MB / 0.5309 GB, free: 7.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.3628, allocations: 36.33 kB / 0.5309 GB, free: 7.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003488/0.3631, allocations: 452.9 kB / 0.5313 GB, free: 7.082 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.3634, allocations: 231.6 kB / 0.5315 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.3637, allocations: 195.7 kB / 0.5317 GB, free: 6.762 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002125/0.3639, allocations: 376.7 kB / 0.5321 GB, free: 6.402 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.3644, allocations: 289.8 kB / 0.5324 GB, free: 6.27 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007626/0.3652, allocations: 0.6086 MB / 0.533 GB, free: 5.691 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.3666, allocations: 0.9688 MB / 0.5339 GB, free: 4.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.3666, allocations: 2.781 kB / 0.5339 GB, free: 4.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002385/0.369, allocations: 1.184 MB / 0.5351 GB, free: 4.301 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.369, allocations: 9.594 kB / 0.5351 GB, free: 4.301 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001462/0.3705, allocations: 0.711 MB / 0.5358 GB, free: 3.945 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007832/0.3713, allocations: 217.5 kB / 0.536 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/0.3721, allocations: 225.6 kB / 0.5362 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005702/0.3778, allocations: 5.375 MB / 0.5414 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007213/0.3786, allocations: 38.19 kB / 0.5415 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.667e-05/0.3787, allocations: 43.31 kB / 0.5415 GB, free: 14.68 MB / 414.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.0005917/0.3793, allocations: 343.3 kB / 0.5418 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/0.3794, allocations: 73.98 kB / 0.5419 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/0.3806, allocations: 0.6549 MB / 0.5426 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.3807, allocations: 6.875 kB / 0.5426 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3807, allocations: 1.375 kB / 0.5426 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.3807, allocations: 3.984 kB / 0.5426 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002822/0.3835, allocations: 1.535 MB / 0.5441 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.3835, allocations: 2.812 kB / 0.5441 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008136/0.3844, allocations: 170.3 kB / 0.5442 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.696e-06/0.3844, allocations: 8.281 kB / 0.5442 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.852e-05/0.3844, allocations: 22.7 kB / 0.5443 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-05/0.3845, allocations: 8.109 kB / 0.5443 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.473e-06/0.3845, allocations: 6.688 kB / 0.5443 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.3861, allocations: 1.019 MB / 0.5453 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/0.3864, allocations: 184 kB / 0.5454 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.537e-05/0.3865, allocations: 18.97 kB / 0.5455 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.3869, allocations: 17.61 kB / 0.5455 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.387, allocations: 54.53 kB / 0.5455 GB, free: 12.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-05/0.387, allocations: 16.78 kB / 0.5456 GB, free: 12.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004658/0.3875, allocations: 364 kB / 0.5459 GB, free: 11.94 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3875, allocations: 0 / 0.5459 GB, free: 11.94 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00108/0.3886, allocations: 220.5 kB / 0.5461 GB, free: 11.91 MB / 414.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.00197/0.3906, allocations: 1.59 MB / 0.5477 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.3926, allocations: 1.123 MB / 0.5488 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3927, allocations: 0 / 0.5488 GB, free: 9.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.3932, allocations: 311 kB / 0.5491 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009745/0.3942, allocations: 163.4 kB / 0.5492 GB, free: 8.656 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.4053, allocations: 7.148 MB / 0.5562 GB, free: 1.059 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000838/0.4062, allocations: 1.075 MB / 0.5572 GB, free: 15.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006507/0.4069, allocations: 237.4 kB / 0.5575 GB, free: 15.72 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004453/0.4073, allocations: 307.3 kB / 0.5578 GB, free: 15.42 MB / 430.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4073, allocations: 0 / 0.5578 GB, free: 15.42 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06213/0.4695, allocations: 15.45 MB / 0.5729 GB, free: 132 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/12.07, allocations: 17.59 kB / 0.5729 GB, free: 116 kB / 430.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