Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.002046/0.002046, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002656/0.002656, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.521/1.521, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.1932/0.1932, allocations: 38.55 MB / 353.2 MB, free: 12.41 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.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [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.002115/0.002115, allocations: 71.89 kB / 493.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3514, allocations: 62.45 MB / 0.5432 GB, free: 424 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.003724/0.3551, allocations: 2.181 MB / 0.5453 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.3585, allocations: 1.906 MB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.214e-05/0.3586, allocations: 5.125 kB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001342/0.3587, allocations: 14.05 kB / 0.5472 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.3588, allocations: 21.72 kB / 0.5472 GB, free: 13.26 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002914/0.3617, allocations: 0.9679 MB / 0.5482 GB, free: 12.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.3619, allocations: 78.39 kB / 0.5482 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.276e-05/0.362, allocations: 6.484 kB / 0.5482 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001502/0.3621, allocations: 42.31 kB / 0.5483 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.3622, allocations: 43.53 kB / 0.5483 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.3622, allocations: 1.312 kB / 0.5483 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003406/0.3656, allocations: 1.898 MB / 0.5502 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.3657, allocations: 17.33 kB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.411e-05/0.3657, allocations: 18.88 kB / 0.5502 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002311/0.3681, allocations: 1.326 MB / 0.5515 GB, free: 10.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.3681, allocations: 7.922 kB / 0.5515 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.936e-06/0.3681, allocations: 4.875 kB / 0.5515 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.3681, allocations: 0 / 0.5515 GB, free: 10.48 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008512/0.3689, allocations: 458.4 kB / 0.5519 GB, free: 10.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.369, allocations: 12.78 kB / 0.552 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/0.369, allocations: 9.266 kB / 0.552 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.3692, allocations: 133.2 kB / 0.5521 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.3693, allocations: 5.281 kB / 0.5521 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.3693, allocations: 1.281 kB / 0.5521 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002278/0.3695, allocations: 119.6 kB / 0.5522 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3695, allocations: 1.094 kB / 0.5522 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3695, allocations: 0 / 0.5522 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3695, allocations: 1.062 kB / 0.5522 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3696, allocations: 86.53 kB / 0.5523 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.3698, allocations: 122 kB / 0.5524 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.37, allocations: 98.59 kB / 0.5525 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.527e-05/0.3701, allocations: 84.06 kB / 0.5526 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.3701, allocations: 0 / 0.5526 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.3701, allocations: 32.66 kB / 0.5526 GB, free: 9.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 9.61e-07/0.3701, allocations: 0 / 0.5526 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0004735/0.3706, allocations: 302 kB / 0.5529 GB, free: 9.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.3707, allocations: 93.55 kB / 0.553 GB, free: 9.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.3708, allocations: 132.7 kB / 0.5531 GB, free: 9.051 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.3708, allocations: 26.61 kB / 0.5532 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.599e-05/0.3709, allocations: 94.94 kB / 0.5532 GB, free: 8.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.856e-05/0.3709, allocations: 49.05 kB / 0.5533 GB, free: 8.883 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-05/0.371, allocations: 17.94 kB / 0.5533 GB, free: 8.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002263/0.3712, allocations: 326.1 kB / 0.5536 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.282e-05/0.3713, allocations: 78.39 kB / 0.5537 GB, free: 8.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/0.3714, allocations: 83.86 kB / 0.5538 GB, free: 8.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.3716, allocations: 181.6 kB / 0.5539 GB, free: 8.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3716, allocations: 0 / 0.5539 GB, free: 8.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002455/0.3719, allocations: 210.1 kB / 0.5541 GB, free: 8.203 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.3719, allocations: 52.14 kB / 0.5542 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.3719, allocations: 5.047 kB / 0.5542 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.3719, allocations: 8 kB / 0.5542 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.714e-06/0.3719, allocations: 1.125 kB / 0.5542 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.85e-06/0.372, allocations: 0 / 0.5542 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.613e-05/0.372, allocations: 6.953 kB / 0.5542 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.372, allocations: 3.531 kB / 0.5542 GB, free: 8.145 MB / 398.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.0001556/0.3722, allocations: 173 kB / 0.5544 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.274e-05/0.3722, allocations: 10.89 kB / 0.5544 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.3722, allocations: 7.062 kB / 0.5544 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3722, allocations: 0 / 0.5544 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3722, allocations: 0 / 0.5544 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.3722, allocations: 5.25 kB / 0.5544 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.3724, allocations: 127.6 kB / 0.5545 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3724, allocations: 4 kB / 0.5545 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-07/0.3724, allocations: 1.344 kB / 0.5545 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3724, allocations: 0 / 0.5545 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3724, allocations: 3.25 kB / 0.5545 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3724, allocations: 1.312 kB / 0.5545 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3724, allocations: 0 / 0.5545 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004017/0.3728, allocations: 333.8 kB / 0.5549 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.563e-05/0.3728, allocations: 6.234 kB / 0.5549 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.126e-05/0.3728, allocations: 3.312 kB / 0.5549 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.3729, allocations: 6.531 kB / 0.5549 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.3729, allocations: 10.22 kB / 0.5549 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3729, allocations: 3.125 kB / 0.5549 GB, free: 7.59 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.656e-05/0.373, allocations: 105.1 kB / 0.555 GB, free: 7.504 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.373, allocations: 0 / 0.555 GB, free: 7.504 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001179/0.3742, allocations: 327.8 kB / 0.5553 GB, free: 7.426 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.001089/0.3752, allocations: 381.9 kB / 0.5557 GB, free: 7.047 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000438/0.3757, allocations: 318.5 kB / 0.556 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3757, allocations: 0 / 0.556 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001982/0.3759, allocations: 189 kB / 0.5561 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.3762, allocations: 17.98 kB / 0.5562 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006867/0.3768, allocations: 380.4 kB / 0.5565 GB, free: 6.082 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002001/0.377, allocations: 95.5 kB / 0.5566 GB, free: 5.969 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.665e-05/0.3771, allocations: 7.438 kB / 0.5566 GB, free: 5.961 MB / 398.1 MB Notification: Performance of SimCode: time 1.213e-06/0.3771, allocations: 0 / 0.5566 GB, free: 5.961 MB / 398.1 MB Notification: Performance of Templates: time 0.01149/0.3886, allocations: 5.984 MB / 0.5625 GB, free: 15.97 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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: 11.630540191661566]