Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001921/0.001921, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.00224/0.00224, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.496/1.496, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.1842/0.1842, allocations: 38.56 MB / 353.2 MB, free: 12.3 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_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [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.00213/0.00213, allocations: 63.91 kB / 493.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3497, allocations: 62.47 MB / 0.5432 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003819/0.3535, allocations: 2.189 MB / 0.5453 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00366/0.3572, allocations: 1.892 MB / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.3573, allocations: 0 / 0.5472 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001407/0.3574, allocations: 22.44 kB / 0.5472 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.61e-05/0.3575, allocations: 26.84 kB / 0.5472 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002787/0.3603, allocations: 0.9653 MB / 0.5482 GB, free: 12.63 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.3604, allocations: 80.19 kB / 0.5482 GB, free: 12.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.758e-05/0.3605, allocations: 6.641 kB / 0.5482 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.3607, allocations: 34.47 kB / 0.5483 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.3608, allocations: 53.06 kB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.3608, allocations: 2.188 kB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003456/0.3643, allocations: 1.891 MB / 0.5502 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.3643, allocations: 39.33 kB / 0.5502 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.3644, allocations: 30.53 kB / 0.5502 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.3663, allocations: 1.352 MB / 0.5516 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3663, allocations: 1.438 kB / 0.5516 GB, free: 10.45 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3663, allocations: 7.938 kB / 0.5516 GB, free: 10.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.3663, allocations: 0 / 0.5516 GB, free: 10.44 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007236/0.367, allocations: 0.4901 MB / 0.552 GB, free: 9.996 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3671, allocations: 13.27 kB / 0.5521 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.69e-05/0.3671, allocations: 13.56 kB / 0.5521 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.3673, allocations: 154 kB / 0.5522 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3673, allocations: 1.719 kB / 0.5522 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3674, allocations: 8.984 kB / 0.5522 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.3676, allocations: 167.9 kB / 0.5524 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3677, allocations: 0 / 0.5524 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3677, allocations: 1.125 kB / 0.5524 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.3677, allocations: 4 kB / 0.5524 GB, free: 9.707 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.3678, allocations: 132 kB / 0.5525 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.368, allocations: 128.2 kB / 0.5526 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3682, allocations: 149.9 kB / 0.5528 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.3684, allocations: 140.9 kB / 0.5529 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.3684, allocations: 0 / 0.5529 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.3684, allocations: 31.66 kB / 0.553 GB, free: 9.285 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 8.11e-07/0.3684, allocations: 1.125 kB / 0.553 GB, free: 9.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0007467/0.3692, allocations: 486.8 kB / 0.5534 GB, free: 9.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.3692, allocations: 96.3 kB / 0.5535 GB, free: 8.938 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.3694, allocations: 158.1 kB / 0.5537 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.483e-05/0.3694, allocations: 25.7 kB / 0.5537 GB, free: 8.777 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/0.3695, allocations: 101.7 kB / 0.5538 GB, free: 8.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.548e-05/0.3696, allocations: 76.64 kB / 0.5539 GB, free: 8.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.92e-05/0.3697, allocations: 33.14 kB / 0.5539 GB, free: 8.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002515/0.3699, allocations: 324.2 kB / 0.5542 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.3701, allocations: 135.2 kB / 0.5543 GB, free: 8.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3702, allocations: 126.1 kB / 0.5544 GB, free: 8.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.3706, allocations: 308.9 kB / 0.5547 GB, free: 7.977 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3706, allocations: 0 / 0.5547 GB, free: 7.977 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003784/0.3709, allocations: 335.9 kB / 0.5551 GB, free: 7.762 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/0.371, allocations: 65.66 kB / 0.5551 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.371, allocations: 0 / 0.5551 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.371, allocations: 0 / 0.5551 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.371, allocations: 0 / 0.5551 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.371, allocations: 0 / 0.5551 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.3711, allocations: 15.89 kB / 0.5551 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.481e-05/0.3711, allocations: 4 kB / 0.5551 GB, free: 7.672 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.000186/0.3713, allocations: 203.4 kB / 0.5553 GB, free: 7.457 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.3713, allocations: 19.91 kB / 0.5554 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.069e-05/0.3714, allocations: 5.312 kB / 0.5554 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3714, allocations: 8 kB / 0.5554 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3714, allocations: 3.938 kB / 0.5554 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.063e-06/0.3714, allocations: 0 / 0.5554 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.3715, allocations: 141.1 kB / 0.5555 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3715, allocations: 4 kB / 0.5555 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3715, allocations: 0 / 0.5555 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.3715, allocations: 0 / 0.5555 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.662e-05/0.3715, allocations: 8 kB / 0.5555 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3715, allocations: 0 / 0.5555 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3715, allocations: 0 / 0.5555 GB, free: 7.238 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007683/0.3723, allocations: 0.5383 MB / 0.556 GB, free: 6.672 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.327e-05/0.3723, allocations: 19.8 kB / 0.5561 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.775e-05/0.3723, allocations: 4 kB / 0.5561 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.911e-05/0.3724, allocations: 4 kB / 0.5561 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-05/0.3724, allocations: 0 / 0.5561 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.3724, allocations: 8 kB / 0.5561 GB, free: 6.637 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.54e-05/0.3725, allocations: 115.2 kB / 0.5562 GB, free: 6.523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3725, allocations: 0 / 0.5562 GB, free: 6.523 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001073/0.3736, allocations: 335.4 kB / 0.5565 GB, free: 6.195 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.000916/0.3745, allocations: 381.9 kB / 0.5569 GB, free: 5.816 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006445/0.3751, allocations: 0.5102 MB / 0.5574 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3751, allocations: 3.938 kB / 0.5574 GB, free: 5.277 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.3755, allocations: 301 kB / 0.5577 GB, free: 4.965 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.3757, allocations: 11.94 kB / 0.5577 GB, free: 4.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008789/0.3766, allocations: 0.5715 MB / 0.5582 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.3767, allocations: 114 kB / 0.5583 GB, free: 4.215 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.577e-05/0.3767, allocations: 7.438 kB / 0.5583 GB, free: 4.207 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3767, allocations: 0 / 0.5583 GB, free: 4.207 MB / 398.1 MB Notification: Performance of Templates: time 0.01125/0.3879, allocations: 6.495 MB / 0.5647 GB, free: 13.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.552909397054464]