Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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.001298/0.001298, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.00148/0.00148, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.373/1.373, allocations: 230.6 MB / 258.3 MB, free: 8.004 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.1745/0.1745, allocations: 38.52 MB / 353.2 MB, free: 12.56 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_matrixEqCirc2,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_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,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_matrixEqCirc2") [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.002086/0.002086, allocations: 75.89 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3119, allocations: 62.47 MB / 0.5432 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003282/0.3152, allocations: 2.146 MB / 0.5453 GB, free: 14.9 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000853/0.316, allocations: 0.5704 MB / 0.5459 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.626e-05/0.3161, allocations: 3.938 kB / 0.5459 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.3162, allocations: 10.08 kB / 0.5459 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.092e-05/0.3163, allocations: 30.64 kB / 0.5459 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.3166, allocations: 73.06 kB / 0.546 GB, free: 14.38 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.3168, allocations: 72.55 kB / 0.5461 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.3168, allocations: 2.75 kB / 0.5461 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000123/0.3169, allocations: 32.34 kB / 0.5461 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.092e-05/0.317, allocations: 32.27 kB / 0.5461 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.001e-05/0.317, allocations: 1.375 kB / 0.5461 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.3173, allocations: 124.7 kB / 0.5463 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.3173, allocations: 26.98 kB / 0.5463 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.3173, allocations: 28 kB / 0.5463 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.3175, allocations: 134.4 kB / 0.5464 GB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3175, allocations: 1.156 kB / 0.5464 GB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3175, allocations: 0 / 0.5464 GB, free: 14.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.391e-06/0.3176, allocations: 4 kB / 0.5464 GB, free: 14.1 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.0004383/0.318, allocations: 367.8 kB / 0.5468 GB, free: 13.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.318, allocations: 13.55 kB / 0.5468 GB, free: 13.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.638e-05/0.3181, allocations: 16.02 kB / 0.5468 GB, free: 13.73 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.3182, allocations: 130 kB / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.3182, allocations: 5.688 kB / 0.547 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/0.3183, allocations: 5.562 kB / 0.547 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3184, allocations: 90.75 kB / 0.547 GB, free: 13.53 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.3184, allocations: 7.938 kB / 0.547 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.3184, allocations: 1.125 kB / 0.5471 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/0.3184, allocations: 3.938 kB / 0.5471 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.79e-05/0.3185, allocations: 59.16 kB / 0.5471 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.3187, allocations: 146.9 kB / 0.5473 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.187e-05/0.3188, allocations: 70.72 kB / 0.5473 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/0.3188, allocations: 66.95 kB / 0.5474 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.874e-06/0.3188, allocations: 1.5 kB / 0.5474 GB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.3189, allocations: 34.56 kB / 0.5474 GB, free: 13.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.082e-06/0.3189, allocations: 1.219 kB / 0.5474 GB, free: 13.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.0004312/0.3193, allocations: 306.7 kB / 0.5477 GB, free: 13.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/0.3194, allocations: 99.72 kB / 0.5478 GB, free: 12.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.3195, allocations: 128.8 kB / 0.5479 GB, free: 12.86 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.3195, allocations: 27.11 kB / 0.548 GB, free: 12.83 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.3196, allocations: 90.98 kB / 0.548 GB, free: 12.74 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.705e-05/0.3196, allocations: 84.59 kB / 0.5481 GB, free: 12.67 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.3197, allocations: 31.23 kB / 0.5482 GB, free: 12.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3198, allocations: 328.2 kB / 0.5485 GB, free: 12.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.826e-05/0.3199, allocations: 50.11 kB / 0.5485 GB, free: 12.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.32, allocations: 65.08 kB / 0.5486 GB, free: 12.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002308/0.3202, allocations: 257.6 kB / 0.5488 GB, free: 12.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3202, allocations: 0 / 0.5488 GB, free: 12.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002291/0.3204, allocations: 225.8 kB / 0.549 GB, free: 12.03 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.88e-05/0.3205, allocations: 64.56 kB / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3205, allocations: 4.062 kB / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.3205, allocations: 0 / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.3205, allocations: 1.281 kB / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.3205, allocations: 0 / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.862e-05/0.3205, allocations: 17.38 kB / 0.5491 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.3206, allocations: 4.5 kB / 0.5491 GB, free: 11.97 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.000169/0.3207, allocations: 198 kB / 0.5493 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.3208, allocations: 15.44 kB / 0.5493 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.3208, allocations: 12.3 kB / 0.5493 GB, free: 11.78 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.3208, allocations: 4 kB / 0.5493 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.3208, allocations: 1.031 kB / 0.5493 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.904e-06/0.3208, allocations: 0 / 0.5493 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000154/0.3209, allocations: 172.4 kB / 0.5495 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.3209, allocations: 0 / 0.5495 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3209, allocations: 5.312 kB / 0.5495 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3209, allocations: 0 / 0.5495 GB, free: 11.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.321, allocations: 12.7 kB / 0.5495 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.321, allocations: 0 / 0.5495 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.321, allocations: 0 / 0.5495 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005425/0.3215, allocations: 0.5049 MB / 0.55 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.3215, allocations: 17.22 kB / 0.55 GB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.3215, allocations: 11.64 kB / 0.55 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.405e-05/0.3216, allocations: 4.219 kB / 0.55 GB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/0.3216, allocations: 5.25 kB / 0.5501 GB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.3216, allocations: 5.312 kB / 0.5501 GB, free: 11.3 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.059e-05/0.3217, allocations: 104.3 kB / 0.5502 GB, free: 11.22 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3217, allocations: 1.469 kB / 0.5502 GB, free: 11.22 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.3219, allocations: 43.84 kB / 0.5502 GB, free: 11.21 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.0001774/0.3221, allocations: 116.4 kB / 0.5503 GB, free: 11.12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.3226, allocations: 450.2 kB / 0.5507 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3226, allocations: 0 / 0.5507 GB, free: 10.93 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000296/0.3229, allocations: 316.7 kB / 0.551 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.3231, allocations: 20.02 kB / 0.5511 GB, free: 10.78 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006716/0.3238, allocations: 468.7 kB / 0.5515 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/0.3242, allocations: 0.7218 MB / 0.5522 GB, free: 9.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.528e-05/0.3242, allocations: 8.781 kB / 0.5522 GB, free: 9.77 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3242, allocations: 1.125 kB / 0.5522 GB, free: 9.77 MB / 398.1 MB Notification: Performance of Templates: time 0.003642/0.3278, allocations: 1.728 MB / 0.5539 GB, free: 8.926 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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: 7.719794054981321]