Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.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.0009748/0.0009748, allocations: 81.97 kB / 22.21 MB, free: 2.285 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.001833/0.001833, allocations: 164.8 kB / 25.61 MB, free: 8.898 MB / 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.077/1.077, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.1455/0.1455, allocations: 29.43 MB / 292 MB, free: 2.633 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.755e-05, allocations: 3.125 kB / 370.9 MB, free: 32.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.003232/0.003249, allocations: 4.056 MB / 374.9 MB, free: 28.27 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.004567, allocations: 1.336 MB / 376.2 MB, free: 26.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.004703, allocations: 15.88 kB / 376.3 MB, free: 26.91 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.005225, allocations: 282.7 kB / 376.5 MB, free: 26.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.005538, allocations: 226.7 kB / 376.8 MB, free: 26.41 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004204/0.005959, allocations: 255.1 kB / 377 MB, free: 26.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003043/0.006263, allocations: 0.5377 MB / 377.5 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002163/0.00648, allocations: 217.7 kB / 377.8 MB, free: 25.4 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003036/0.006783, allocations: 375 kB / 378.1 MB, free: 25.04 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.006988, allocations: 259.3 kB / 378.4 MB, free: 24.78 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.007018, allocations: 28 kB / 378.4 MB, free: 24.75 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.007192, allocations: 155.7 kB / 378.6 MB, free: 24.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.007313, allocations: 239.4 kB / 378.8 MB, free: 24.37 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.007415, allocations: 159.6 kB / 379 MB, free: 24.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003002/0.007715, allocations: 442.5 kB / 379.4 MB, free: 23.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.007717, allocations: 4 kB / 379.4 MB, free: 23.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.007717, allocations: 0 / 379.4 MB, free: 23.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.007723, allocations: 7.938 kB / 379.4 MB, free: 23.77 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.0005891/0.008312, allocations: 0.7507 MB / 380.1 MB, free: 22.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.00834, allocations: 12.03 kB / 380.2 MB, free: 22.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.008721, allocations: 140.5 kB / 380.3 MB, free: 22.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000259/0.00898, allocations: 323.1 kB / 380.6 MB, free: 22.49 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.008998, allocations: 33.38 kB / 380.6 MB, free: 22.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.826e-05/0.009066, allocations: 48.56 kB / 380.7 MB, free: 22.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003079/0.009374, allocations: 478.4 kB / 381.2 MB, free: 21.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.00939, allocations: 3.938 kB / 381.2 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.009415, allocations: 23.98 kB / 381.2 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-05/0.009472, allocations: 32.98 kB / 381.2 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/0.009659, allocations: 194.6 kB / 381.4 MB, free: 21.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.01088, allocations: 3.24 MB / 384.6 MB, free: 18.23 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.01102, allocations: 149.9 kB / 384.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.01108, allocations: 67.39 kB / 384.9 MB, free: 17.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.0111, allocations: 15.98 kB / 384.9 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.01112, allocations: 37.39 kB / 384.9 MB, free: 17.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=27): time 1.252e-06/0.01112, allocations: 7.938 kB / 384.9 MB, free: 17.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.00056/0.01168, allocations: 0.5036 MB / 385.4 MB, free: 17.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/0.01171, allocations: 81.11 kB / 385.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01184, allocations: 365.9 kB / 385.9 MB, free: 16.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.01185, allocations: 29.7 kB / 385.9 MB, free: 16.87 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.444e-05/0.01193, allocations: 330.7 kB / 386.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.01197, allocations: 111.2 kB / 386.3 MB, free: 16.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.573e-05/0.01204, allocations: 103.8 kB / 386.4 MB, free: 16.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.04e-05/0.0121, allocations: 0.5195 MB / 386.9 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.908e-05/0.01215, allocations: 52.95 kB / 387 MB, free: 15.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01226, allocations: 335.5 kB / 387.3 MB, free: 15.28 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.01247, allocations: 446.2 kB / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01247, allocations: 0 / 387.8 MB, free: 14.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.000287/0.01276, allocations: 373.5 kB / 388.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.01277, allocations: 11.94 kB / 388.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.01278, allocations: 4 kB / 388.1 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.01279, allocations: 12 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.01298, allocations: 107.8 kB / 388.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.01299, allocations: 8 kB / 388.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.0131, allocations: 16 kB / 388.3 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.01311, allocations: 23.94 kB / 388.3 MB, free: 14.17 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (58): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.62e-05/0.01319, allocations: 188.3 kB / 388.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.01323, allocations: 55.8 kB / 388.5 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002209/0.01345, allocations: 226.1 kB / 388.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.01345, allocations: 4 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01346, allocations: 0 / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.01346, allocations: 3.984 kB / 388.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.01397, allocations: 0.6066 MB / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01397, allocations: 0 / 389.4 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.01412, allocations: 63.91 kB / 389.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.01412, allocations: 8.094 kB / 389.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.01413, allocations: 8 kB / 389.5 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01414, allocations: 4 kB / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01414, allocations: 4 kB / 389.5 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.01441, allocations: 452.2 kB / 389.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.01443, allocations: 35.77 kB / 389.9 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.01445, allocations: 8 kB / 389.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.01453, allocations: 4 kB / 389.9 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.566e-05/0.01456, allocations: 19.95 kB / 390 MB, free: 12.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-05/0.01457, allocations: 12 kB / 390 MB, free: 12.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.639e-05/0.01463, allocations: 218.9 kB / 390.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01463, allocations: 0 / 390.2 MB, free: 12.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002486/0.01488, allocations: 92 kB / 390.3 MB, free: 12.08 MB / 314.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 (31): * Single equations (assignments): 30 * Array equations: 0 * 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 6.949e-05/0.01495, allocations: 103.2 kB / 390.4 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002063/0.01516, allocations: 225.8 kB / 390.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01516, allocations: 0 / 390.6 MB, free: 11.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.265e-05/0.01523, allocations: 99.94 kB / 390.7 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.01553, allocations: 72.8 kB / 390.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.01651, allocations: 0.8464 MB / 391.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.843e-05/0.01658, allocations: 141.2 kB / 391.8 MB, free: 10.53 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.01668, allocations: 51.25 kB / 391.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.0168, allocations: 130.2 kB / 391.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of SimCode: time 8.11e-07/0.0168, allocations: 3.938 kB / 391.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of Templates: time 0.005026/0.02183, allocations: 3.581 MB / 395.5 MB, free: 6.844 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceInertial_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceInertial.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.324952830094844]