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.001505/0.001505, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002048/0.002048, allocations: 211.9 kB / 24.51 MB, free: 3.941 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.558/1.558, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.1919/0.1919, allocations: 38.54 MB / 353.2 MB, free: 12.3 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.Introductory.InitialSteadyState,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_Introductory_InitialSteadyState",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.001933/0.001933, allocations: 63.91 kB / 493.2 MB, free: 4.703 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3853/0.3873, allocations: 62.46 MB / 0.5427 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.006883/0.3941, allocations: 4.336 MB / 0.5469 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003193/0.3973, allocations: 1.374 MB / 0.5483 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004029/0.3977, allocations: 16.59 kB / 0.5483 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001482/0.3992, allocations: 371.3 kB / 0.5486 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00108/0.4003, allocations: 257 kB / 0.5489 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.4013, allocations: 253 kB / 0.5491 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001093/0.4024, allocations: 0.5584 MB / 0.5497 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005266/0.4029, allocations: 221 kB / 0.5499 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007303/0.4037, allocations: 275.3 kB / 0.5501 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009311/0.4046, allocations: 382.1 kB / 0.5505 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001646/0.4048, allocations: 39.06 kB / 0.5505 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007328/0.4055, allocations: 239.4 kB / 0.5508 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.406, allocations: 244.2 kB / 0.551 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005192/0.4065, allocations: 208.7 kB / 0.5512 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001358/0.4078, allocations: 0.6859 MB / 0.5519 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4078, allocations: 0 / 0.5519 GB, free: 9.715 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4078, allocations: 0 / 0.5519 GB, free: 9.715 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.4079, allocations: 1.125 kB / 0.5519 GB, free: 9.715 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.001848/0.4097, allocations: 0.7191 MB / 0.5526 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.4098, allocations: 14.02 kB / 0.5526 GB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.008e-05/0.4098, allocations: 16.12 kB / 0.5526 GB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.4099, allocations: 79.41 kB / 0.5527 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00086/0.4108, allocations: 130.7 kB / 0.5528 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008696/0.4116, allocations: 357.6 kB / 0.5531 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.898e-05/0.4117, allocations: 31.59 kB / 0.5532 GB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.4119, allocations: 47.48 kB / 0.5532 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.4132, allocations: 0.6777 MB / 0.5539 GB, free: 8.246 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.4132, allocations: 9.906 kB / 0.5539 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.628e-05/0.4133, allocations: 15.98 kB / 0.5539 GB, free: 8.227 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.4135, allocations: 49.03 kB / 0.5539 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/0.4148, allocations: 0.6744 MB / 0.5546 GB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004042/0.4188, allocations: 2.275 MB / 0.5568 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.4194, allocations: 340.2 kB / 0.5571 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000354/0.4198, allocations: 229.9 kB / 0.5574 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.4198, allocations: 4.281 kB / 0.5574 GB, free: 5.137 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.4198, allocations: 42.77 kB / 0.5574 GB, free: 5.086 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 3.837e-06/0.4199, allocations: 0 / 0.5574 GB, free: 5.086 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002736/0.4226, allocations: 1.413 MB / 0.5588 GB, free: 3.641 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.4227, allocations: 81.11 kB / 0.5589 GB, free: 3.543 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.423, allocations: 288.1 kB / 0.5591 GB, free: 3.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.4231, allocations: 33.83 kB / 0.5592 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.4233, allocations: 252.4 kB / 0.5594 GB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.4234, allocations: 170.5 kB / 0.5596 GB, free: 2.793 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001841/0.4236, allocations: 90.17 kB / 0.5597 GB, free: 2.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.4238, allocations: 346.8 kB / 0.56 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000348/0.4242, allocations: 221 kB / 0.5602 GB, free: 2.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.4247, allocations: 372.1 kB / 0.5606 GB, free: 1.719 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009373/0.4256, allocations: 0.6278 MB / 0.5612 GB, free: 1.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4256, allocations: 0 / 0.5612 GB, free: 1.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0016/0.4272, allocations: 0.7203 MB / 0.5619 GB, free: 312 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.865e-05/0.4272, allocations: 8 kB / 0.5619 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009938/0.4282, allocations: 0.5147 MB / 0.5624 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003839/0.4286, allocations: 72.8 kB / 0.5625 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004516/0.4291, allocations: 111.8 kB / 0.5626 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.4309, allocations: 1.612 MB / 0.5641 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.4313, allocations: 27.97 kB / 0.5642 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.4313, allocations: 20 kB / 0.5642 GB, free: 13.82 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.0003568/0.4317, allocations: 217.7 kB / 0.5644 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.4318, allocations: 43.69 kB / 0.5644 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.4328, allocations: 0.5668 MB / 0.565 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.4329, allocations: 8 kB / 0.565 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.4329, allocations: 4.062 kB / 0.565 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/0.4329, allocations: 7.984 kB / 0.565 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/0.435, allocations: 1.126 MB / 0.5661 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.435, allocations: 3.938 kB / 0.5661 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004384/0.4354, allocations: 87.88 kB / 0.5662 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.4354, allocations: 0 / 0.5662 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/0.4355, allocations: 12 kB / 0.5662 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4355, allocations: 0 / 0.5662 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.4355, allocations: 7.938 kB / 0.5662 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.4368, allocations: 0.928 MB / 0.5671 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.195e-05/0.4369, allocations: 43.8 kB / 0.5672 GB, free: 10.67 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.4369, allocations: 8 kB / 0.5672 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.4372, allocations: 15.98 kB / 0.5672 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.4372, allocations: 35.83 kB / 0.5672 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.692e-05/0.4373, allocations: 15.92 kB / 0.5672 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.4375, allocations: 199.1 kB / 0.5674 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4375, allocations: 0 / 0.5674 GB, free: 10.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006072/0.4381, allocations: 124 kB / 0.5675 GB, free: 10.28 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.001742/0.4398, allocations: 1.502 MB / 0.569 GB, free: 8.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.441, allocations: 0.6299 MB / 0.5696 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.441, allocations: 0 / 0.5696 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.4413, allocations: 247.7 kB / 0.5699 GB, free: 7.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.4419, allocations: 72.55 kB / 0.5699 GB, free: 7.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006323/0.4482, allocations: 4.587 MB / 0.5744 GB, free: 2.969 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.4485, allocations: 274.4 kB / 0.5747 GB, free: 2.68 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003476/0.4489, allocations: 131.1 kB / 0.5748 GB, free: 2.551 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.4491, allocations: 147.3 kB / 0.5749 GB, free: 2.406 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4491, allocations: 0 / 0.5749 GB, free: 2.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03548/0.4846, allocations: 9.174 MB / 0.5839 GB, free: 9.422 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.86, allocations: 4.062 kB / 0.5839 GB, free: 9.418 MB / 430.1 MB " [Timeout remaining time 647] (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: 16.00302029494196]