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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 194.1 kB / 22.75 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 225.6 MB / 251.4 MB, free: 13.42 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1795/0.1795, allocations: 38.52 MB / 345 MB, free: 2.656 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,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=500,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 0.001906/0.001906, allocations: 63.91 kB / 482.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3622, allocations: 61.25 MB / 0.5309 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003231/0.3654, allocations: 2.221 MB / 0.5331 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.367, allocations: 1.064 MB / 0.5342 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.852e-05/0.367, allocations: 1.406 kB / 0.5342 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001373/0.3671, allocations: 17.7 kB / 0.5342 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.3673, allocations: 57.89 kB / 0.5342 GB, free: 3.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009018/0.3682, allocations: 286.6 kB / 0.5345 GB, free: 3.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.3683, allocations: 111.4 kB / 0.5346 GB, free: 3.008 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.3684, allocations: 6.562 kB / 0.5346 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3685, allocations: 47.78 kB / 0.5347 GB, free: 2.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001295/0.3686, allocations: 79.61 kB / 0.5347 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.541e-05/0.3686, allocations: 2.438 kB / 0.5347 GB, free: 2.961 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007946/0.3694, allocations: 485 kB / 0.5352 GB, free: 2.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.329e-05/0.3695, allocations: 39.97 kB / 0.5352 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.3696, allocations: 39.7 kB / 0.5353 GB, free: 2.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.3702, allocations: 0.5138 MB / 0.5358 GB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3702, allocations: 0 / 0.5358 GB, free: 2.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3702, allocations: 1.375 kB / 0.5358 GB, free: 2.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3702, allocations: 0 / 0.5358 GB, free: 2.48 MB / 382.1 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.0004176/0.3706, allocations: 464.3 kB / 0.5362 GB, free: 2.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3707, allocations: 17.42 kB / 0.5362 GB, free: 2.012 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3707, allocations: 14.34 kB / 0.5363 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.3708, allocations: 193.9 kB / 0.5364 GB, free: 1.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.3708, allocations: 5.734 kB / 0.5364 GB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.045e-05/0.3709, allocations: 5.5 kB / 0.5365 GB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.371, allocations: 97.08 kB / 0.5365 GB, free: 1.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.371, allocations: 5.312 kB / 0.5365 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3711, allocations: 1.375 kB / 0.5365 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.3711, allocations: 3.984 kB / 0.5366 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.271e-05/0.3711, allocations: 57.05 kB / 0.5366 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001231/0.3713, allocations: 186 kB / 0.5368 GB, free: 1.473 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.631e-05/0.3714, allocations: 71.84 kB / 0.5369 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.444e-05/0.3714, allocations: 62.06 kB / 0.5369 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.3714, allocations: 3.938 kB / 0.5369 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.3714, allocations: 35.94 kB / 0.537 GB, free: 1.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.032e-06/0.3714, allocations: 0 / 0.537 GB, free: 1.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.00047/0.3719, allocations: 293.3 kB / 0.5372 GB, free: 1.215 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.372, allocations: 96.98 kB / 0.5373 GB, free: 1.113 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.514e-05/0.3721, allocations: 135.9 kB / 0.5375 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.3721, allocations: 26.64 kB / 0.5375 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.052e-05/0.3721, allocations: 91.38 kB / 0.5376 GB, free: 0.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.3721, allocations: 63.81 kB / 0.5376 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.041e-05/0.3722, allocations: 28.14 kB / 0.5377 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.904e-05/0.3722, allocations: 322.7 kB / 0.538 GB, free: 488 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.562e-05/0.3723, allocations: 56.72 kB / 0.538 GB, free: 468 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.736e-05/0.3724, allocations: 71.78 kB / 0.5381 GB, free: 436 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.3726, allocations: 228.3 kB / 0.5383 GB, free: 304 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.3726, allocations: 0 / 0.5383 GB, free: 304 kB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002239/0.3728, allocations: 219.6 kB / 0.5385 GB, free: 184 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.3729, allocations: 56.8 kB / 0.5386 GB, free: 140 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3729, allocations: 4 kB / 0.5386 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.3729, allocations: 0 / 0.5386 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3729, allocations: 0 / 0.5386 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3729, allocations: 1.562 kB / 0.5386 GB, free: 136 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.817e-05/0.3729, allocations: 16.61 kB / 0.5386 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.373, allocations: 13.55 kB / 0.5386 GB, free: 116 kB / 382.1 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.0001546/0.3731, allocations: 183.3 kB / 0.5388 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.3731, allocations: 16.89 kB / 0.5388 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.635e-05/0.3732, allocations: 8.156 kB / 0.5388 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.3732, allocations: 0 / 0.5388 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3732, allocations: 1.406 kB / 0.5388 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3732, allocations: 0 / 0.5388 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.3734, allocations: 199.2 kB / 0.539 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.3734, allocations: 0 / 0.539 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.3734, allocations: 0 / 0.539 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3734, allocations: 5.062 kB / 0.539 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3734, allocations: 4.156 kB / 0.539 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.3734, allocations: 5.016 kB / 0.539 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3734, allocations: 3.938 kB / 0.539 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.3739, allocations: 384.5 kB / 0.5394 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.417e-05/0.374, allocations: 91.7 kB / 0.5395 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.374, allocations: 4.469 kB / 0.5395 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.462e-05/0.374, allocations: 8.25 kB / 0.5395 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.3741, allocations: 1.688 kB / 0.5395 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.791e-05/0.3741, allocations: 10.67 kB / 0.5395 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.432e-05/0.3742, allocations: 102.3 kB / 0.5396 GB, free: 15.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3742, allocations: 3.938 kB / 0.5396 GB, free: 15.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004882/0.3747, allocations: 130.6 kB / 0.5397 GB, free: 15.26 MB / 398.1 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.0004343/0.3751, allocations: 192.4 kB / 0.5399 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004394/0.3755, allocations: 321.5 kB / 0.5402 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3755, allocations: 0 / 0.5402 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002183/0.3757, allocations: 204.1 kB / 0.5404 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.376, allocations: 32.08 kB / 0.5404 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006822/0.3767, allocations: 430 kB / 0.5408 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.377, allocations: 0.7194 MB / 0.5415 GB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.572e-05/0.377, allocations: 8.938 kB / 0.5415 GB, free: 13.82 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.377, allocations: 0 / 0.5415 GB, free: 13.82 MB / 398.1 MB Notification: Performance of Templates: time 0.006057/0.3831, allocations: 3.11 MB / 0.5446 GB, free: 12.26 MB / 398.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.mat","/var/lib/jenkins1/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