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.002477/0.002477, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002846/0.002846, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3259/0.3259, allocations: 29.41 MB / 290.5 MB, free: 2.41 MB / 266.7 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: Performance of FrontEnd - loaded program: time 3.387e-06/3.387e-06, allocations: 0 / 368.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.503e-05/3.841e-05, allocations: 2.875 kB / 368.9 MB, free: 11.36 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007034/0.007072, allocations: 4.494 MB / 373.4 MB, free: 6.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.009972, allocations: 1.433 MB / 374.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002235/0.0102, allocations: 23.81 kB / 374.8 MB, free: 5.371 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.01144, allocations: 366.4 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006743/0.01211, allocations: 270.4 kB / 375.4 MB, free: 4.746 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.01291, allocations: 259.2 kB / 375.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000761/0.01368, allocations: 0.5689 MB / 376.3 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.01409, allocations: 221.5 kB / 376.5 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.01467, allocations: 354.9 kB / 376.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005669/0.01524, allocations: 347.2 kB / 377.2 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.431e-05/0.01533, allocations: 40 kB / 377.2 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.01585, allocations: 235.5 kB / 377.4 MB, free: 2.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002974/0.01614, allocations: 251.4 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002781/0.01642, allocations: 179.6 kB / 377.8 MB, free: 2.328 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.01745, allocations: 0.7049 MB / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.01746, allocations: 0 / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.01746, allocations: 0 / 378.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.316e-05/0.01747, allocations: 8 kB / 378.6 MB, free: 1.613 MB / 346.7 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.001672/0.01914, allocations: 0.8364 MB / 379.4 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.01919, allocations: 11.98 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008822/0.02007, allocations: 180.4 kB / 379.6 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007917/0.02086, allocations: 370.7 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.044e-05/0.02091, allocations: 33.36 kB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.02106, allocations: 52.67 kB / 380 MB, free: 84 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000899/0.02196, allocations: 0.4973 MB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.02198, allocations: 0 / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.096e-05/0.02203, allocations: 16 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001888/0.02222, allocations: 48.97 kB / 380.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007425/0.02296, allocations: 351.6 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003993/0.02695, allocations: 2.503 MB / 383.4 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004776/0.02743, allocations: 210.7 kB / 383.6 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002465/0.02768, allocations: 123.7 kB / 383.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.126e-05/0.02772, allocations: 8.219 kB / 383.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.02776, allocations: 41.67 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.013e-06/0.02777, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.002021/0.02979, allocations: 0.9217 MB / 384.7 MB, free: 11.14 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.634e-05/0.02987, allocations: 85.05 kB / 384.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.0303, allocations: 374.3 kB / 385.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.03034, allocations: 29.7 kB / 385.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002553/0.03059, allocations: 307 kB / 385.5 MB, free: 10.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.03078, allocations: 182.5 kB / 385.7 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/0.03096, allocations: 107.8 kB / 385.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003295/0.03129, allocations: 0.5391 MB / 386.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.03151, allocations: 101.1 kB / 386.4 MB, free: 9.371 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.03193, allocations: 307.9 kB / 386.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007092/0.03264, allocations: 453.8 kB / 387.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.03264, allocations: 0 / 387.2 MB, free: 8.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001122/0.03377, allocations: 0.5053 MB / 387.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.03379, allocations: 8 kB / 387.7 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006947/0.03448, allocations: 299.1 kB / 388 MB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003915/0.03487, allocations: 63.62 kB / 388 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004258/0.0353, allocations: 112.1 kB / 388.2 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.0373, allocations: 1.881 MB / 390 MB, free: 5.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.03757, allocations: 35.91 kB / 390.1 MB, free: 5.438 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.03763, allocations: 23.98 kB / 390.1 MB, free: 5.414 MB / 362.7 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.0002485/0.03787, allocations: 188.5 kB / 390.3 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.038, allocations: 51.8 kB / 390.3 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007907/0.03879, allocations: 365.7 kB / 390.7 MB, free: 4.801 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.03882, allocations: 12 kB / 390.7 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.03882, allocations: 0 / 390.7 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.03885, allocations: 7.922 kB / 390.7 MB, free: 4.781 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001921/0.04077, allocations: 0.9346 MB / 391.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.04077, allocations: 0 / 391.6 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.0412, allocations: 87.88 kB / 391.7 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.04121, allocations: 8.078 kB / 391.7 MB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.04125, allocations: 11.94 kB / 391.7 MB, free: 3.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.04125, allocations: 4 kB / 391.7 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.04125, allocations: 4 kB / 391.8 MB, free: 3.676 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/0.04231, allocations: 0.6362 MB / 392.4 MB, free: 3.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.025e-05/0.04238, allocations: 39.77 kB / 392.4 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.426e-05/0.04243, allocations: 11.94 kB / 392.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002206/0.04265, allocations: 19.97 kB / 392.5 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.458e-05/0.04273, allocations: 27.95 kB / 392.5 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.04277, allocations: 12 kB / 392.5 MB, free: 2.895 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002394/0.04301, allocations: 235 kB / 392.7 MB, free: 2.664 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04301, allocations: 0 / 392.7 MB, free: 2.664 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000531/0.04354, allocations: 119.9 kB / 392.8 MB, free: 2.547 MB / 362.7 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.0002906/0.04383, allocations: 135.1 kB / 393 MB, free: 2.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.04485, allocations: 0.5173 MB / 393.5 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.04486, allocations: 0 / 393.5 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003077/0.04516, allocations: 172.2 kB / 393.7 MB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005119/0.04568, allocations: 75.03 kB / 393.7 MB, free: 1.629 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/0.04739, allocations: 0.9547 MB / 394.7 MB, free: 0.6289 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.04772, allocations: 262.2 kB / 394.9 MB, free: 356 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002843/0.048, allocations: 103.1 kB / 395 MB, free: 256 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.04812, allocations: 32.5 kB / 395.1 MB, free: 224 kB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.04812, allocations: 0 / 395.1 MB, free: 224 kB / 362.7 MB Notification: Performance of Templates: time 0.01149/0.05961, allocations: 4.524 MB / 399.6 MB, free: 11.77 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins/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: 4.91792879300192]