Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.0008215/0.0008215, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003047/0.003047, allocations: 163 kB / 24.7 MB, free: 9.426 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 0.8107/0.8107, allocations: 177.1 MB / 205 MB, free: 5.727 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.204/0.204, allocations: 29.41 MB / 290.8 MB, free: 2.422 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.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 431.5 MB, free: 13.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.457e-05, allocations: 2.281 kB / 431.5 MB, free: 13.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002687/0.002701, allocations: 2.243 MB / 433.7 MB, free: 10.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.003965, allocations: 1.029 MB / 434.8 MB, free: 9.777 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.004007, allocations: 0 / 434.8 MB, free: 9.777 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.004131, allocations: 15.91 kB / 434.8 MB, free: 9.762 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.004245, allocations: 55.66 kB / 434.8 MB, free: 9.707 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007836/0.005028, allocations: 338.9 kB / 435.2 MB, free: 9.375 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.005173, allocations: 123.5 kB / 435.3 MB, free: 9.254 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.005218, allocations: 7.938 kB / 435.3 MB, free: 9.246 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.005362, allocations: 59.81 kB / 435.3 MB, free: 9.188 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.892e-05/0.005461, allocations: 71.81 kB / 435.4 MB, free: 9.117 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.005473, allocations: 4 kB / 435.4 MB, free: 9.113 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006627/0.006135, allocations: 0.5571 MB / 436 MB, free: 8.555 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.924e-05/0.006204, allocations: 43.89 kB / 436 MB, free: 8.512 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.006249, allocations: 27.94 kB / 436 MB, free: 8.484 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005997/0.006849, allocations: 0.5648 MB / 436.6 MB, free: 7.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.006851, allocations: 0 / 436.6 MB, free: 7.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006852, allocations: 0 / 436.6 MB, free: 7.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.907e-06/0.006856, allocations: 0 / 436.6 MB, free: 7.918 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003891/0.007245, allocations: 395.1 kB / 437 MB, free: 7.496 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.007278, allocations: 8.031 kB / 437 MB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.941e-05/0.007317, allocations: 12.84 kB / 437 MB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.007458, allocations: 140.2 kB / 437.2 MB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.007467, allocations: 384 / 437.2 MB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.145e-05/0.007479, allocations: 4.375 kB / 437.2 MB, free: 7.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.007664, allocations: 158.8 kB / 437.3 MB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.007672, allocations: 3.938 kB / 437.3 MB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.007681, allocations: 0 / 437.3 MB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.007685, allocations: 0 / 437.3 MB, free: 7.145 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.968e-05/0.007785, allocations: 113.6 kB / 437.4 MB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.0079, allocations: 121.2 kB / 437.5 MB, free: 6.879 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000119/0.008019, allocations: 124.2 kB / 437.7 MB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.008125, allocations: 118.5 kB / 437.8 MB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.008133, allocations: 0 / 437.8 MB, free: 6.617 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.008157, allocations: 38.5 kB / 437.8 MB, free: 6.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 7.71e-07/0.008157, allocations: 4 kB / 437.8 MB, free: 6.566 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004852/0.008642, allocations: 418.8 kB / 438.2 MB, free: 6.133 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.008694, allocations: 97.09 kB / 438.3 MB, free: 6.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.888e-05/0.008782, allocations: 129.8 kB / 438.5 MB, free: 5.883 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.008794, allocations: 25.7 kB / 438.5 MB, free: 5.852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.008836, allocations: 96.45 kB / 438.6 MB, free: 5.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.00889, allocations: 63.44 kB / 438.6 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.346e-05/0.008933, allocations: 25.7 kB / 438.7 MB, free: 5.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.009026, allocations: 326.8 kB / 439 MB, free: 5.332 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.009128, allocations: 105.7 kB / 439.1 MB, free: 5.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.009224, allocations: 117.6 kB / 439.2 MB, free: 5.102 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.009441, allocations: 267.2 kB / 439.5 MB, free: 4.828 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.009442, allocations: 3.938 kB / 439.5 MB, free: 4.824 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005087/0.009951, allocations: 284.9 kB / 439.7 MB, free: 4.527 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.713e-05/0.009998, allocations: 57.66 kB / 439.8 MB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01, allocations: 7.875 kB / 439.8 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.01002, allocations: 0 / 439.8 MB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-06/0.01002, allocations: 4 kB / 439.8 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.01002, allocations: 0 / 439.8 MB, free: 4.453 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.935e-05/0.01007, allocations: 11.89 kB / 439.8 MB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.01009, allocations: 4 kB / 439.8 MB, free: 4.438 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001156/0.01021, allocations: 183.5 kB / 440 MB, free: 4.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.692e-05/0.01022, allocations: 11.95 kB / 440 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.585e-05/0.01024, allocations: 17.05 kB / 440 MB, free: 4.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.01024, allocations: 4 kB / 440 MB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01025, allocations: 0 / 440 MB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.01025, allocations: 0 / 440 MB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.377e-05/0.01033, allocations: 125.2 kB / 440.2 MB, free: 4.055 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.01033, allocations: 3.938 kB / 440.2 MB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.01033, allocations: 4 kB / 440.2 MB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.002e-06/0.01033, allocations: 0 / 440.2 MB, free: 4.047 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.01035, allocations: 4 kB / 440.2 MB, free: 4.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.01035, allocations: 7.938 kB / 440.2 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01035, allocations: 0 / 440.2 MB, free: 4.035 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004245/0.01077, allocations: 448.2 kB / 440.6 MB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.01079, allocations: 15.84 kB / 440.6 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.01081, allocations: 4 kB / 440.6 MB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.157e-05/0.01084, allocations: 3.938 kB / 440.6 MB, free: 3.543 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.645e-05/0.01085, allocations: 4 kB / 440.6 MB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.01087, allocations: 12 kB / 440.7 MB, free: 3.527 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.773e-05/0.01091, allocations: 102.4 kB / 440.8 MB, free: 3.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01091, allocations: 4 kB / 440.8 MB, free: 3.426 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003497/0.01126, allocations: 131.8 kB / 440.9 MB, free: 3.297 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003429/0.01161, allocations: 198.9 kB / 441.1 MB, free: 3.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004122/0.01202, allocations: 436.7 kB / 441.5 MB, free: 2.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01202, allocations: 0 / 441.5 MB, free: 2.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.01223, allocations: 257 kB / 441.8 MB, free: 2.375 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.01244, allocations: 27.97 kB / 441.8 MB, free: 2.348 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.01298, allocations: 481 kB / 442.3 MB, free: 1.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.914e-05/0.01305, allocations: 104.2 kB / 442.4 MB, free: 1.719 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.217e-05/0.01306, allocations: 8.5 kB / 442.4 MB, free: 1.711 MB / 410.7 MB Notification: Performance of SimCode: time 4.11e-07/0.01306, allocations: 0 / 442.4 MB, free: 1.711 MB / 410.7 MB Notification: Performance of Templates: time 0.1294/0.1425, allocations: 3.153 MB / 445.5 MB, free: 54.17 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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: 5.423575135879219]