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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 105.1 kB / 21.22 MB, free: 0.5078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 214.9 kB / 24.51 MB, free: 3.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1851/0.1851, allocations: 38.55 MB / 353.2 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.Display,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_Display",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 63.89 kB / 493.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3313, allocations: 62.46 MB / 0.5427 GB, free: 272 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Display): time 0.008984/0.3403, allocations: 6.315 MB / 0.5489 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.3443, allocations: 1.912 MB / 0.5507 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005804/0.3449, allocations: 35.69 kB / 0.5508 GB, free: 9.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001951/0.3469, allocations: 0.7146 MB / 0.5515 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001506/0.3484, allocations: 0.5798 MB / 0.552 GB, free: 8.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007159/0.3491, allocations: 256.9 kB / 0.5523 GB, free: 8.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001525/0.3506, allocations: 1.136 MB / 0.5534 GB, free: 8.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009243/0.3515, allocations: 489 kB / 0.5538 GB, free: 7.785 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.3528, allocations: 0.5344 MB / 0.5544 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.354, allocations: 0.6622 MB / 0.555 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001448/0.3542, allocations: 67.91 kB / 0.5551 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000718/0.3549, allocations: 289.2 kB / 0.5554 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005103/0.3554, allocations: 491 kB / 0.5558 GB, free: 6.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005274/0.3559, allocations: 418.8 kB / 0.5562 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001347/0.3573, allocations: 1.191 MB / 0.5574 GB, free: 5.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3573, allocations: 4 kB / 0.5574 GB, free: 5.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3573, allocations: 0 / 0.5574 GB, free: 5.215 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.3573, allocations: 0 / 0.5574 GB, free: 5.215 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.002311/0.3596, allocations: 1.158 MB / 0.5585 GB, free: 4.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3597, allocations: 15.92 kB / 0.5585 GB, free: 4.008 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.303e-05/0.3597, allocations: 22.19 kB / 0.5586 GB, free: 3.988 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001678/0.3599, allocations: 147.9 kB / 0.5587 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009586/0.3608, allocations: 164.2 kB / 0.5589 GB, free: 3.676 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.3619, allocations: 0.5588 MB / 0.5594 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.788e-05/0.362, allocations: 70.11 kB / 0.5595 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/0.3622, allocations: 95.92 kB / 0.5596 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.364, allocations: 1.157 MB / 0.5607 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.3641, allocations: 7.938 kB / 0.5607 GB, free: 1.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.3641, allocations: 35.98 kB / 0.5607 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001799/0.3643, allocations: 85.89 kB / 0.5608 GB, free: 1.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.3661, allocations: 1.007 MB / 0.5618 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00567/0.3717, allocations: 3.888 MB / 0.5656 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.373, allocations: 0.5872 MB / 0.5662 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.3734, allocations: 284.6 kB / 0.5664 GB, free: 11.63 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.3735, allocations: 8.5 kB / 0.5664 GB, free: 11.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/0.3735, allocations: 43 kB / 0.5665 GB, free: 11.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=63): time 3.066e-06/0.3735, allocations: 0 / 0.5665 GB, free: 11.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=64): time 0.003128/0.3766, allocations: 1.681 MB / 0.5681 GB, free: 9.852 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.3767, allocations: 89.75 kB / 0.5682 GB, free: 9.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.3774, allocations: 0.5418 MB / 0.5687 GB, free: 9.195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.345e-05/0.3775, allocations: 37.7 kB / 0.5688 GB, free: 9.152 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.3779, allocations: 460.1 kB / 0.5692 GB, free: 8.695 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002233/0.3781, allocations: 234 kB / 0.5694 GB, free: 8.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002772/0.3784, allocations: 190.5 kB / 0.5696 GB, free: 8.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002179/0.3786, allocations: 378.8 kB / 0.57 GB, free: 7.895 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000526/0.3791, allocations: 285.8 kB / 0.5703 GB, free: 7.613 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007781/0.3799, allocations: 0.6076 MB / 0.5708 GB, free: 6.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.3813, allocations: 0.971 MB / 0.5718 GB, free: 5.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.3813, allocations: 7.938 kB / 0.5718 GB, free: 5.727 MB / 414.1 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002515/0.3838, allocations: 1.166 MB / 0.5729 GB, free: 4.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/0.3838, allocations: 8 kB / 0.5729 GB, free: 4.535 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001419/0.3853, allocations: 0.7115 MB / 0.5736 GB, free: 3.816 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007796/0.386, allocations: 214.4 kB / 0.5738 GB, free: 3.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/0.3868, allocations: 219.6 kB / 0.5741 GB, free: 3.383 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/0.3921, allocations: 5.043 MB / 0.579 GB, free: 14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.3926, allocations: 28 kB / 0.579 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.394e-05/0.3927, allocations: 47.98 kB / 0.5791 GB, free: 13.92 MB / 430.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.0004991/0.3932, allocations: 337.6 kB / 0.5794 GB, free: 13.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/0.3933, allocations: 75.45 kB / 0.5794 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.3945, allocations: 0.66 MB / 0.5801 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.3945, allocations: 8 kB / 0.5801 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3945, allocations: 0 / 0.5801 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.3945, allocations: 3.984 kB / 0.5801 GB, free: 12.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.3971, allocations: 1.455 MB / 0.5815 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3971, allocations: 7.938 kB / 0.5815 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.398, allocations: 167.8 kB / 0.5817 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.576e-06/0.398, allocations: 4 kB / 0.5817 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.398, allocations: 24.14 kB / 0.5817 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.398, allocations: 11.94 kB / 0.5817 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.398, allocations: 0 / 0.5817 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.3995, allocations: 1.025 MB / 0.5827 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.3998, allocations: 107.5 kB / 0.5828 GB, free: 9.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/0.3999, allocations: 16 kB / 0.5828 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.4002, allocations: 15.98 kB / 0.5829 GB, free: 9.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.4003, allocations: 56.34 kB / 0.5829 GB, free: 9.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.4004, allocations: 16 kB / 0.5829 GB, free: 9.828 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0004255/0.4008, allocations: 362.8 kB / 0.5833 GB, free: 9.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4008, allocations: 4 kB / 0.5833 GB, free: 9.473 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008192/0.4016, allocations: 220 kB / 0.5835 GB, free: 9.258 MB / 430.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.001971/0.4036, allocations: 1.597 MB / 0.5851 GB, free: 7.621 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001859/0.4054, allocations: 1.074 MB / 0.5861 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.4054, allocations: 192 / 0.5861 GB, free: 6.508 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004933/0.4059, allocations: 298.6 kB / 0.5864 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008861/0.4068, allocations: 172.3 kB / 0.5866 GB, free: 6.051 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/0.4186, allocations: 7.166 MB / 0.5935 GB, free: 14.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007117/0.4193, allocations: 474.7 kB / 0.594 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007606/0.42, allocations: 237.5 kB / 0.5942 GB, free: 13.72 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000572/0.4206, allocations: 303.3 kB / 0.5945 GB, free: 13.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.164e-06/0.4206, allocations: 0 / 0.5945 GB, free: 13.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07565/0.4963, allocations: 16.42 MB / 0.6106 GB, free: 13.23 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.61, allocations: 7.188 kB / 0.6106 GB, free: 13.23 MB / 462.1 MB " [Timeout remaining time 646] (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 --stepSize=0.02 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_Display.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.Display.pipe 2>&1) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.703834254993126]