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.001424/0.001424, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001618/0.001618, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.348/1.348, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.173/0.173, allocations: 38.54 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: translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") [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.001944/0.001944, allocations: 67.89 kB / 493.8 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2919, allocations: 62.46 MB / 0.5432 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005833/0.2977, allocations: 4.572 MB / 0.5477 GB, free: 13.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002372/0.3001, allocations: 1.505 MB / 0.5491 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.3003, allocations: 16.75 kB / 0.5492 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.3013, allocations: 382.3 kB / 0.5495 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.3018, allocations: 264 kB / 0.5498 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.3025, allocations: 248.9 kB / 0.55 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006261/0.3031, allocations: 0.5588 MB / 0.5506 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003576/0.3034, allocations: 228.5 kB / 0.5508 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.3038, allocations: 275.9 kB / 0.551 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004921/0.3043, allocations: 378.5 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.745e-05/0.3044, allocations: 39.66 kB / 0.5514 GB, free: 10.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004393/0.3048, allocations: 250.2 kB / 0.5517 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.3051, allocations: 244.5 kB / 0.5519 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.3053, allocations: 253 kB / 0.5522 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007643/0.3061, allocations: 0.6812 MB / 0.5528 GB, free: 9.445 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3061, allocations: 0 / 0.5528 GB, free: 9.445 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3061, allocations: 7.938 kB / 0.5528 GB, free: 9.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.3061, allocations: 0 / 0.5528 GB, free: 9.438 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.001301/0.3074, allocations: 0.7067 MB / 0.5535 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.3074, allocations: 13.42 kB / 0.5535 GB, free: 8.867 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007149/0.3081, allocations: 129.1 kB / 0.5537 GB, free: 8.805 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007336/0.3089, allocations: 361.4 kB / 0.554 GB, free: 8.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.3089, allocations: 28.56 kB / 0.554 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.3091, allocations: 54.44 kB / 0.5541 GB, free: 8.488 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/0.31, allocations: 0.6795 MB / 0.5547 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.3101, allocations: 1.531 kB / 0.5547 GB, free: 8.051 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.3101, allocations: 16.16 kB / 0.5548 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.3103, allocations: 49.09 kB / 0.5548 GB, free: 8.023 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.3113, allocations: 0.6704 MB / 0.5555 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.3149, allocations: 2.378 MB / 0.5578 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.3156, allocations: 321.7 kB / 0.5581 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.3159, allocations: 229.9 kB / 0.5583 GB, free: 4.746 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.316, allocations: 16.25 kB / 0.5583 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.316, allocations: 34.84 kB / 0.5584 GB, free: 4.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.054e-06/0.316, allocations: 4 kB / 0.5584 GB, free: 4.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=46): time 0.002295/0.3183, allocations: 1.413 MB / 0.5597 GB, free: 3.238 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/0.3183, allocations: 81.11 kB / 0.5598 GB, free: 3.141 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002968/0.3186, allocations: 288.2 kB / 0.5601 GB, free: 2.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.3187, allocations: 33.69 kB / 0.5601 GB, free: 2.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.3189, allocations: 244.4 kB / 0.5604 GB, free: 2.566 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.319, allocations: 174.5 kB / 0.5605 GB, free: 2.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.3192, allocations: 98.11 kB / 0.5606 GB, free: 2.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.3193, allocations: 346.8 kB / 0.5609 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003288/0.3196, allocations: 221 kB / 0.5612 GB, free: 1.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004482/0.3201, allocations: 366 kB / 0.5615 GB, free: 1.316 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008347/0.3209, allocations: 0.6278 MB / 0.5621 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3209, allocations: 0 / 0.5621 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001305/0.3222, allocations: 0.7201 MB / 0.5628 GB, free: 15.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.3223, allocations: 14.75 kB / 0.5628 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008921/0.3231, allocations: 0.5147 MB / 0.5633 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003248/0.3235, allocations: 76.78 kB / 0.5634 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.3239, allocations: 108.1 kB / 0.5635 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/0.3256, allocations: 1.624 MB / 0.5651 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.3258, allocations: 23.97 kB / 0.5651 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.3259, allocations: 20 kB / 0.5651 GB, free: 13.4 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.0002835/0.3262, allocations: 217.6 kB / 0.5654 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.582e-05/0.3263, allocations: 39.7 kB / 0.5654 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009455/0.3272, allocations: 0.5706 MB / 0.5659 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.077e-05/0.3272, allocations: 12.2 kB / 0.566 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3272, allocations: 7.969 kB / 0.566 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3272, allocations: 4 kB / 0.566 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.3293, allocations: 1.153 MB / 0.5671 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3293, allocations: 0 / 0.5671 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004036/0.3297, allocations: 91.88 kB / 0.5672 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3297, allocations: 4.094 kB / 0.5672 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.3297, allocations: 8 kB / 0.5672 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.3297, allocations: 4 kB / 0.5672 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.3297, allocations: 7.922 kB / 0.5672 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.331, allocations: 0.9317 MB / 0.5681 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.438e-05/0.3311, allocations: 43.73 kB / 0.5682 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.3311, allocations: 8 kB / 0.5682 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.3314, allocations: 23.97 kB / 0.5682 GB, free: 10.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.224e-05/0.3314, allocations: 31.83 kB / 0.5682 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.958e-05/0.3314, allocations: 12 kB / 0.5682 GB, free: 10.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002083/0.3317, allocations: 203.1 kB / 0.5684 GB, free: 9.945 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3317, allocations: 0 / 0.5684 GB, free: 9.945 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005049/0.3322, allocations: 120 kB / 0.5685 GB, free: 9.828 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.0002271/0.3324, allocations: 131.1 kB / 0.5687 GB, free: 9.691 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001061/0.3335, allocations: 0.6381 MB / 0.5693 GB, free: 9.043 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.3335, allocations: 4.062 kB / 0.5693 GB, free: 9.039 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.3338, allocations: 231.5 kB / 0.5695 GB, free: 8.812 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/0.3343, allocations: 71.17 kB / 0.5696 GB, free: 8.746 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/0.3362, allocations: 1.238 MB / 0.5708 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.3368, allocations: 0.8822 MB / 0.5716 GB, free: 6.547 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.3369, allocations: 43.42 kB / 0.5717 GB, free: 6.504 MB / 414.1 MB Notification: Performance of SimCode: time 8.61e-07/0.3369, allocations: 0 / 0.5717 GB, free: 6.504 MB / 414.1 MB Notification: Performance of Templates: time 0.01006/0.347, allocations: 6.601 MB / 0.5781 GB, free: 15.91 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 480] 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: 8.3434293998871]