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.001723/0.001723, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002142/0.002142, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.636/1.636, allocations: 230.6 MB / 258.3 MB, free: 8 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.1869/0.1869, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.002215/0.002215, allocations: 63.91 kB / 493.3 MB, free: 4.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3537, allocations: 62.47 MB / 0.5428 GB, free: 444 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007013/0.3607, allocations: 4.578 MB / 0.5472 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002512/0.3632, allocations: 1.493 MB / 0.5487 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.3634, allocations: 17.06 kB / 0.5487 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.3645, allocations: 390 kB / 0.5491 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005695/0.3651, allocations: 260.3 kB / 0.5493 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006535/0.3657, allocations: 244.4 kB / 0.5496 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006527/0.3664, allocations: 0.563 MB / 0.5501 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004149/0.3668, allocations: 224.5 kB / 0.5503 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.3673, allocations: 275 kB / 0.5506 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.3678, allocations: 379.5 kB / 0.5509 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.378e-05/0.3679, allocations: 39.09 kB / 0.551 GB, free: 10.14 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.3684, allocations: 255.6 kB / 0.5512 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002626/0.3687, allocations: 240 kB / 0.5514 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002934/0.369, allocations: 252.6 kB / 0.5517 GB, free: 9.715 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008724/0.3698, allocations: 0.6837 MB / 0.5524 GB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3698, allocations: 5.125 kB / 0.5524 GB, free: 9.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.3698, allocations: 0 / 0.5524 GB, free: 9.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.3698, allocations: 0 / 0.5524 GB, free: 9.266 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.001519/0.3714, allocations: 0.7102 MB / 0.5531 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3714, allocations: 14.33 kB / 0.5531 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.188e-05/0.3714, allocations: 14.75 kB / 0.5531 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.3715, allocations: 88.72 kB / 0.5532 GB, free: 8.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007827/0.3723, allocations: 129.4 kB / 0.5533 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007514/0.3731, allocations: 361.3 kB / 0.5536 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.59e-05/0.3731, allocations: 32.42 kB / 0.5537 GB, free: 8.25 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3733, allocations: 50.44 kB / 0.5537 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.3743, allocations: 0.676 MB / 0.5544 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.3744, allocations: 1.125 kB / 0.5544 GB, free: 7.793 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.3744, allocations: 20.52 kB / 0.5544 GB, free: 7.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001857/0.3746, allocations: 56.58 kB / 0.5545 GB, free: 7.758 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/0.3756, allocations: 0.6657 MB / 0.5551 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003644/0.3793, allocations: 2.373 MB / 0.5574 GB, free: 5.277 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.3799, allocations: 329.7 kB / 0.5577 GB, free: 4.938 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003431/0.3802, allocations: 229.9 kB / 0.558 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.3802, allocations: 4.281 kB / 0.558 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3803, allocations: 42.78 kB / 0.558 GB, free: 4.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.043e-06/0.3803, allocations: 0 / 0.558 GB, free: 4.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002405/0.3827, allocations: 1.413 MB / 0.5594 GB, free: 3.207 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.3827, allocations: 81.11 kB / 0.5595 GB, free: 3.109 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003243/0.3831, allocations: 288.1 kB / 0.5597 GB, free: 2.816 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.3831, allocations: 37.64 kB / 0.5598 GB, free: 2.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.3833, allocations: 252.3 kB / 0.56 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001525/0.3834, allocations: 170.5 kB / 0.5602 GB, free: 2.355 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.3836, allocations: 86.19 kB / 0.5602 GB, free: 2.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.3838, allocations: 350.8 kB / 0.5606 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.3841, allocations: 221 kB / 0.5608 GB, free: 1.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004689/0.3846, allocations: 366 kB / 0.5611 GB, free: 1.285 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008483/0.3854, allocations: 0.6239 MB / 0.5618 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3854, allocations: 4 kB / 0.5618 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001322/0.3867, allocations: 0.7198 MB / 0.5625 GB, free: 15.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.3867, allocations: 10.97 kB / 0.5625 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000893/0.3876, allocations: 0.5152 MB / 0.563 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003261/0.388, allocations: 80.78 kB / 0.5631 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004286/0.3884, allocations: 111.8 kB / 0.5632 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/0.3901, allocations: 1.616 MB / 0.5647 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.3904, allocations: 35.97 kB / 0.5648 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.943e-05/0.3905, allocations: 20 kB / 0.5648 GB, free: 13.36 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.0002861/0.3908, allocations: 209.7 kB / 0.565 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3909, allocations: 43.91 kB / 0.565 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009466/0.3918, allocations: 0.5667 MB / 0.5656 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/0.3918, allocations: 19.98 kB / 0.5656 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.3918, allocations: 0 / 0.5656 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.3919, allocations: 0 / 0.5656 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002054/0.3939, allocations: 1.161 MB / 0.5667 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3939, allocations: 0 / 0.5667 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.3943, allocations: 87.88 kB / 0.5668 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-06/0.3943, allocations: 11.88 kB / 0.5668 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.274e-05/0.3944, allocations: 11.94 kB / 0.5668 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.3944, allocations: 7.969 kB / 0.5669 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.3944, allocations: 4 kB / 0.5669 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.3957, allocations: 0.9279 MB / 0.5678 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.3957, allocations: 43.8 kB / 0.5678 GB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.544e-05/0.3958, allocations: 11.94 kB / 0.5678 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.396, allocations: 19.97 kB / 0.5678 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.3961, allocations: 27.89 kB / 0.5679 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.3961, allocations: 16 kB / 0.5679 GB, free: 10.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.3963, allocations: 199.1 kB / 0.5681 GB, free: 9.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3963, allocations: 0 / 0.5681 GB, free: 9.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005515/0.3969, allocations: 119.9 kB / 0.5682 GB, free: 9.793 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.001755/0.3986, allocations: 1.506 MB / 0.5696 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3998, allocations: 0.6299 MB / 0.5703 GB, free: 7.605 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.3998, allocations: 4 kB / 0.5703 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004565/0.4003, allocations: 231.5 kB / 0.5705 GB, free: 7.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006311/0.4009, allocations: 72.55 kB / 0.5706 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006792/0.4077, allocations: 4.596 MB / 0.575 GB, free: 2.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006149/0.4083, allocations: 0.8744 MB / 0.5759 GB, free: 1.578 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003736/0.4087, allocations: 135.1 kB / 0.576 GB, free: 1.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.409, allocations: 143.4 kB / 0.5762 GB, free: 1.305 MB / 414.1 MB Notification: Performance of SimCode: time 8.51e-07/0.409, allocations: 0 / 0.5762 GB, free: 1.305 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03375/0.4427, allocations: 9.169 MB / 0.5851 GB, free: 8.301 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.6, allocations: 11.53 kB / 0.5851 GB, free: 8.293 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: 15.80935702699935]