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.001294/0.001294, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001424/0.001424, allocations: 214.7 kB / 23.75 MB, free: 4.668 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.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.1802/0.1802, allocations: 38.52 MB / 352.5 MB, free: 12.57 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.002562/0.002562, allocations: 70.55 kB / 492.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3472, allocations: 62.47 MB / 0.542 GB, free: 460 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007147/0.3543, allocations: 4.575 MB / 0.5465 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.3573, allocations: 1.501 MB / 0.5479 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002318/0.3575, allocations: 17.84 kB / 0.5479 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.3587, allocations: 386.5 kB / 0.5483 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000711/0.3594, allocations: 259.2 kB / 0.5486 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007925/0.3602, allocations: 249.9 kB / 0.5488 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007606/0.361, allocations: 0.5542 MB / 0.5493 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003958/0.3614, allocations: 228.4 kB / 0.5496 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004423/0.3618, allocations: 275.7 kB / 0.5498 GB, free: 10.38 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005467/0.3624, allocations: 379 kB / 0.5502 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.979e-05/0.3624, allocations: 39.78 kB / 0.5502 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.3629, allocations: 246.6 kB / 0.5505 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002648/0.3632, allocations: 248 kB / 0.5507 GB, free: 9.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003029/0.3635, allocations: 257.3 kB / 0.5509 GB, free: 9.727 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008622/0.3643, allocations: 0.6795 MB / 0.5516 GB, free: 9.285 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3643, allocations: 4 kB / 0.5516 GB, free: 9.281 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3643, allocations: 1.375 kB / 0.5516 GB, free: 9.281 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.3644, allocations: 0 / 0.5516 GB, free: 9.281 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.001432/0.3658, allocations: 0.715 MB / 0.5523 GB, free: 8.707 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3658, allocations: 12.45 kB / 0.5523 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001185/0.3659, allocations: 83.98 kB / 0.5524 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007419/0.3667, allocations: 134 kB / 0.5525 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000742/0.3674, allocations: 361 kB / 0.5529 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.3675, allocations: 32.89 kB / 0.5529 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.3676, allocations: 46.62 kB / 0.5529 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.3687, allocations: 0.68 MB / 0.5536 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.3687, allocations: 1.125 kB / 0.5536 GB, free: 7.812 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/0.3687, allocations: 19.34 kB / 0.5536 GB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001739/0.3689, allocations: 54.67 kB / 0.5537 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.3699, allocations: 0.6694 MB / 0.5543 GB, free: 7.473 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.3736, allocations: 2.372 MB / 0.5566 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005851/0.3742, allocations: 325.7 kB / 0.557 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003495/0.3746, allocations: 230 kB / 0.5572 GB, free: 4.742 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.3746, allocations: 4.281 kB / 0.5572 GB, free: 4.738 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.966e-05/0.3746, allocations: 42.78 kB / 0.5572 GB, free: 4.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.3746, allocations: 0 / 0.5572 GB, free: 4.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002436/0.3771, allocations: 1.405 MB / 0.5586 GB, free: 3.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.3771, allocations: 85.23 kB / 0.5587 GB, free: 3.148 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.3775, allocations: 292.1 kB / 0.559 GB, free: 2.852 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.3775, allocations: 33.7 kB / 0.559 GB, free: 2.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.3777, allocations: 248.3 kB / 0.5592 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.3778, allocations: 174.5 kB / 0.5594 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.378, allocations: 94.17 kB / 0.5595 GB, free: 2.297 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3782, allocations: 346.8 kB / 0.5598 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.3785, allocations: 217 kB / 0.56 GB, free: 1.738 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.3789, allocations: 374 kB / 0.5604 GB, free: 1.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.3798, allocations: 0.6278 MB / 0.561 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.3798, allocations: 4 kB / 0.561 GB, free: 0.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001304/0.3811, allocations: 0.7122 MB / 0.5617 GB, free: 15.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.3811, allocations: 15.88 kB / 0.5617 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009105/0.382, allocations: 0.5147 MB / 0.5622 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.3824, allocations: 77.09 kB / 0.5623 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004104/0.3828, allocations: 111.9 kB / 0.5624 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/0.3845, allocations: 1.62 MB / 0.564 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.3848, allocations: 31.97 kB / 0.564 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.748e-05/0.3849, allocations: 20 kB / 0.564 GB, free: 13.39 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.0002771/0.3851, allocations: 209.7 kB / 0.5642 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.3853, allocations: 43.69 kB / 0.5643 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009362/0.3862, allocations: 0.5629 MB / 0.5648 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-05/0.3862, allocations: 15.98 kB / 0.5648 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3862, allocations: 4 kB / 0.5648 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3862, allocations: 0 / 0.5648 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.3882, allocations: 1.168 MB / 0.566 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3882, allocations: 0 / 0.566 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.3887, allocations: 83.98 kB / 0.566 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3887, allocations: 4 kB / 0.566 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.3887, allocations: 11.98 kB / 0.5661 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.3887, allocations: 3.938 kB / 0.5661 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3887, allocations: 4 kB / 0.5661 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001307/0.39, allocations: 0.9356 MB / 0.567 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.3901, allocations: 35.77 kB / 0.567 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.646e-05/0.3901, allocations: 12 kB / 0.567 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.3904, allocations: 24 kB / 0.567 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3904, allocations: 24.12 kB / 0.5671 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3905, allocations: 16 kB / 0.5671 GB, free: 10.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002136/0.3907, allocations: 199.1 kB / 0.5673 GB, free: 9.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3907, allocations: 4 kB / 0.5673 GB, free: 9.949 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006092/0.3913, allocations: 119.9 kB / 0.5674 GB, free: 9.832 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.001779/0.3931, allocations: 1.506 MB / 0.5689 GB, free: 8.285 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.3941, allocations: 0.6301 MB / 0.5695 GB, free: 7.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3941, allocations: 8.062 kB / 0.5695 GB, free: 7.637 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.3945, allocations: 235.5 kB / 0.5697 GB, free: 7.406 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005038/0.395, allocations: 71.09 kB / 0.5698 GB, free: 7.34 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006361/0.4013, allocations: 4.592 MB / 0.5743 GB, free: 2.52 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005714/0.4019, allocations: 0.8744 MB / 0.5751 GB, free: 1.617 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003269/0.4022, allocations: 127.2 kB / 0.5752 GB, free: 1.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.4025, allocations: 151.4 kB / 0.5754 GB, free: 1.344 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4025, allocations: 0 / 0.5754 GB, free: 1.344 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05816/0.4606, allocations: 9.14 MB / 0.5843 GB, free: 8.352 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.15, allocations: 17.84 kB / 0.5843 GB, free: 8.344 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: 14.984599299030378]