Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.001274/0.001274, 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.001439/0.001439, 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.961 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.1868/0.1868, allocations: 38.52 MB / 353.2 MB, free: 12.53 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_matrixEqCirc1,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_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,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_matrixEqCirc1") [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.002249/0.002249, allocations: 67.91 kB / 493.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2939/0.2961, allocations: 62.47 MB / 0.5432 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00337/0.2995, allocations: 2.154 MB / 0.5453 GB, free: 14.89 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008644/0.3004, allocations: 0.57 MB / 0.5459 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.419e-05/0.3004, allocations: 0 / 0.5459 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.3005, allocations: 14.67 kB / 0.5459 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.3006, allocations: 30.7 kB / 0.5459 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003328/0.301, allocations: 76.42 kB / 0.546 GB, free: 14.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3011, allocations: 64.58 kB / 0.5461 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.269e-05/0.3012, allocations: 6.75 kB / 0.5461 GB, free: 14.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.3013, allocations: 36.28 kB / 0.5461 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.3013, allocations: 33.27 kB / 0.5461 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.3014, allocations: 1.344 kB / 0.5462 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.3016, allocations: 124.5 kB / 0.5463 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.159e-05/0.3016, allocations: 16.77 kB / 0.5463 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.3017, allocations: 17.28 kB / 0.5463 GB, free: 14.17 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.3018, allocations: 114 kB / 0.5464 GB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3018, allocations: 1.312 kB / 0.5464 GB, free: 14.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3018, allocations: 0 / 0.5464 GB, free: 14.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3019, allocations: 4 kB / 0.5464 GB, free: 14.11 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.0003974/0.3023, allocations: 321.9 kB / 0.5467 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.3023, allocations: 14 kB / 0.5467 GB, free: 13.78 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.451e-05/0.3023, allocations: 7.484 kB / 0.5467 GB, free: 13.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.3025, allocations: 124.9 kB / 0.5469 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.3025, allocations: 5.469 kB / 0.5469 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.478e-05/0.3025, allocations: 5.344 kB / 0.5469 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000125/0.3026, allocations: 57.88 kB / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.3026, allocations: 0 / 0.5469 GB, free: 13.59 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3027, allocations: 5.281 kB / 0.5469 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.3027, allocations: 0 / 0.5469 GB, free: 13.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.3027, allocations: 32.45 kB / 0.547 GB, free: 13.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001474/0.3029, allocations: 133.9 kB / 0.5471 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.328e-05/0.3029, allocations: 52.19 kB / 0.5471 GB, free: 13.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.303, allocations: 38.59 kB / 0.5472 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.505e-06/0.303, allocations: 0 / 0.5472 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.303, allocations: 39.73 kB / 0.5472 GB, free: 13.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 8.82e-07/0.303, allocations: 0 / 0.5472 GB, free: 13.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002905/0.3033, allocations: 184.2 kB / 0.5474 GB, free: 13.2 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.3034, allocations: 90.44 kB / 0.5475 GB, free: 13.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3035, allocations: 117.6 kB / 0.5476 GB, free: 12.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.3035, allocations: 25.7 kB / 0.5476 GB, free: 12.96 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.3035, allocations: 93.52 kB / 0.5477 GB, free: 12.87 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.042e-05/0.3036, allocations: 41.05 kB / 0.5477 GB, free: 12.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.725e-05/0.3036, allocations: 24.67 kB / 0.5478 GB, free: 12.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3038, allocations: 321.2 kB / 0.5481 GB, free: 12.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.3038, allocations: 29.86 kB / 0.5481 GB, free: 12.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.917e-05/0.3039, allocations: 32.64 kB / 0.5481 GB, free: 12.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.304, allocations: 155.4 kB / 0.5483 GB, free: 12.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.304, allocations: 1.188 kB / 0.5483 GB, free: 12.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001766/0.3042, allocations: 157.5 kB / 0.5484 GB, free: 12.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.3042, allocations: 51.16 kB / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.3043, allocations: 0 / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3043, allocations: 5.469 kB / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.3043, allocations: 0 / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.3043, allocations: 0 / 0.5485 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.3043, allocations: 7.406 kB / 0.5485 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.3043, allocations: 3.312 kB / 0.5485 GB, free: 12.22 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.0001392/0.3045, allocations: 167.3 kB / 0.5487 GB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.3045, allocations: 13.42 kB / 0.5487 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.3045, allocations: 5.469 kB / 0.5487 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.3045, allocations: 1.031 kB / 0.5487 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.3045, allocations: 4 kB / 0.5487 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3045, allocations: 1.156 kB / 0.5487 GB, free: 12.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.3046, allocations: 151.4 kB / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3046, allocations: 1.031 kB / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3046, allocations: 0 / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3046, allocations: 0.9688 kB / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.3046, allocations: 6.156 kB / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.3046, allocations: 1.125 kB / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3046, allocations: 0 / 0.5488 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.305, allocations: 291.1 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.338e-05/0.305, allocations: 6.391 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.305, allocations: 2.656 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.755e-05/0.305, allocations: 2.062 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.305, allocations: 5.031 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.305, allocations: 3.25 kB / 0.5491 GB, free: 11.68 MB / 398.1 MB Notification: Performance of sorting global known variables: time 6.739e-05/0.3051, allocations: 94.14 kB / 0.5492 GB, free: 11.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3051, allocations: 0 / 0.5492 GB, free: 11.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002214/0.3053, allocations: 31.97 kB / 0.5492 GB, free: 11.59 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.0001622/0.3055, allocations: 118.1 kB / 0.5494 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.3058, allocations: 224.5 kB / 0.5496 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.3058, allocations: 0 / 0.5496 GB, free: 11.38 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.3059, allocations: 165.7 kB / 0.5497 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.3062, allocations: 14.45 kB / 0.5497 GB, free: 11.27 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004577/0.3066, allocations: 307.6 kB / 0.55 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.307, allocations: 0.7002 MB / 0.5507 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.307, allocations: 8.875 kB / 0.5507 GB, free: 10.33 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.307, allocations: 0 / 0.5507 GB, free: 10.33 MB / 398.1 MB Notification: Performance of Templates: time 0.002948/0.3099, allocations: 1.257 MB / 0.552 GB, free: 9.723 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.901927703991532]