Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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.00175/0.00175, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002096/0.002096, allocations: 219.9 kB / 23.73 MB, free: 4.164 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.62/1.62, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.1982/0.1982, allocations: 38.56 MB / 352.5 MB, free: 12.32 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.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",fmuType="me",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.002157/0.002157, allocations: 59.91 kB / 492.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3587, allocations: 62.46 MB / 0.5419 GB, free: 248 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006366/0.365, allocations: 4.326 MB / 0.5461 GB, free: 12.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.3678, allocations: 1.387 MB / 0.5475 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002823/0.3681, allocations: 21.62 kB / 0.5475 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001213/0.3693, allocations: 370.7 kB / 0.5479 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007039/0.37, allocations: 253.6 kB / 0.5481 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007797/0.3708, allocations: 244.7 kB / 0.5483 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006531/0.3715, allocations: 0.5664 MB / 0.5489 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.3719, allocations: 216.8 kB / 0.5491 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.3723, allocations: 279.3 kB / 0.5494 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.3729, allocations: 361.8 kB / 0.5497 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/0.3729, allocations: 39.66 kB / 0.5498 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004954/0.3734, allocations: 230.1 kB / 0.55 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.3737, allocations: 245.3 kB / 0.5502 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.3739, allocations: 213.2 kB / 0.5504 GB, free: 10 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.3748, allocations: 0.6809 MB / 0.5511 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3748, allocations: 1.25 kB / 0.5511 GB, free: 9.566 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3748, allocations: 0 / 0.5511 GB, free: 9.566 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.3748, allocations: 0 / 0.5511 GB, free: 9.566 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001484/0.3763, allocations: 0.716 MB / 0.5518 GB, free: 8.988 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.3763, allocations: 13.23 kB / 0.5518 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.3764, allocations: 88.58 kB / 0.5519 GB, free: 8.906 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000779/0.3772, allocations: 126 kB / 0.552 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008381/0.3781, allocations: 365.3 kB / 0.5523 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.3781, allocations: 32.73 kB / 0.5524 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.3782, allocations: 50.42 kB / 0.5524 GB, free: 8.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.3794, allocations: 0.6746 MB / 0.5531 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.255e-05/0.3794, allocations: 2.188 kB / 0.5531 GB, free: 8.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.103e-05/0.3795, allocations: 19.3 kB / 0.5531 GB, free: 8.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001789/0.3796, allocations: 54.06 kB / 0.5532 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.3807, allocations: 0.6701 MB / 0.5538 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.3845, allocations: 2.285 MB / 0.556 GB, free: 5.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006161/0.3851, allocations: 321.7 kB / 0.5563 GB, free: 5.242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003725/0.3855, allocations: 229.9 kB / 0.5566 GB, free: 5.012 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.3856, allocations: 4.281 kB / 0.5566 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.3856, allocations: 46.72 kB / 0.5566 GB, free: 4.953 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.555e-06/0.3856, allocations: 0 / 0.5566 GB, free: 4.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002563/0.3882, allocations: 1.401 MB / 0.558 GB, free: 3.52 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.3882, allocations: 81.11 kB / 0.5581 GB, free: 3.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.3886, allocations: 300.1 kB / 0.5583 GB, free: 3.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3886, allocations: 33.69 kB / 0.5584 GB, free: 3.078 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.3888, allocations: 248.3 kB / 0.5586 GB, free: 2.832 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.3889, allocations: 162.6 kB / 0.5588 GB, free: 2.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001556/0.3891, allocations: 98.12 kB / 0.5589 GB, free: 2.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.3893, allocations: 346.8 kB / 0.5592 GB, free: 2.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003482/0.3896, allocations: 221.1 kB / 0.5594 GB, free: 2.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004759/0.3901, allocations: 366.1 kB / 0.5598 GB, free: 1.594 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008733/0.391, allocations: 0.6239 MB / 0.5604 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.391, allocations: 4 kB / 0.5604 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001364/0.3924, allocations: 0.7275 MB / 0.5611 GB, free: 176 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3924, allocations: 4 kB / 0.5611 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009481/0.3933, allocations: 0.5147 MB / 0.5616 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/0.3937, allocations: 85.27 kB / 0.5617 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004338/0.3941, allocations: 107.9 kB / 0.5618 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.3961, allocations: 1.608 MB / 0.5633 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003451/0.3964, allocations: 31.97 kB / 0.5634 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/0.3965, allocations: 23.98 kB / 0.5634 GB, free: 13.68 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003766/0.3968, allocations: 217.7 kB / 0.5636 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.3969, allocations: 39.7 kB / 0.5636 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009944/0.3979, allocations: 0.5667 MB / 0.5642 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-05/0.398, allocations: 16 kB / 0.5642 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.398, allocations: 0 / 0.5642 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.398, allocations: 3.984 kB / 0.5642 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.4002, allocations: 1.122 MB / 0.5653 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.4002, allocations: 12.09 kB / 0.5653 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004116/0.4006, allocations: 75.89 kB / 0.5654 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.4006, allocations: 7.938 kB / 0.5654 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.4006, allocations: 11.98 kB / 0.5654 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.52e-06/0.4006, allocations: 4 kB / 0.5654 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4007, allocations: 0 / 0.5654 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.402, allocations: 0.9318 MB / 0.5663 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.4021, allocations: 36 kB / 0.5664 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.428e-05/0.4022, allocations: 8 kB / 0.5664 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.4024, allocations: 24.02 kB / 0.5664 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.762e-05/0.4025, allocations: 31.88 kB / 0.5664 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.4025, allocations: 16 kB / 0.5664 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002165/0.4027, allocations: 199.1 kB / 0.5666 GB, free: 10.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4027, allocations: 0 / 0.5666 GB, free: 10.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005993/0.4033, allocations: 119.9 kB / 0.5667 GB, free: 10.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 2 * 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.001832/0.4052, allocations: 1.514 MB / 0.5682 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.4063, allocations: 0.6291 MB / 0.5688 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4063, allocations: 0 / 0.5688 GB, free: 7.957 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003651/0.4067, allocations: 243.4 kB / 0.5691 GB, free: 7.719 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.4072, allocations: 72.03 kB / 0.5691 GB, free: 7.66 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006513/0.4137, allocations: 4.595 MB / 0.5736 GB, free: 2.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000334/0.4141, allocations: 274.4 kB / 0.5739 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003475/0.4144, allocations: 123.1 kB / 0.574 GB, free: 2.422 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000247/0.4147, allocations: 151.4 kB / 0.5741 GB, free: 2.273 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4147, allocations: 0 / 0.5741 GB, free: 2.273 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04177/0.4564, allocations: 9.321 MB / 0.5832 GB, free: 9.129 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.92/12.37, allocations: 8.062 kB / 0.5833 GB, free: 9.121 MB / 430.1 MB " [Timeout remaining time 648] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState.fmu > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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: 15.456238794140518]