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.001887/0.001887, 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.002374/0.002374, allocations: 209 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.445/1.445, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.187/0.187, allocations: 38.55 MB / 353.2 MB, free: 12.29 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.00232/0.00232, allocations: 63.91 kB / 493.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2843, allocations: 62.47 MB / 0.5432 GB, free: 392 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.003363/0.2877, allocations: 2.135 MB / 0.5453 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00083/0.2885, allocations: 0.519 MB / 0.5458 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.825e-05/0.2886, allocations: 3.938 kB / 0.5458 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001199/0.2887, allocations: 9.391 kB / 0.5458 GB, free: 14.3 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.2888, allocations: 30.7 kB / 0.5458 GB, free: 14.28 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003707/0.2891, allocations: 77.62 kB / 0.5459 GB, free: 14.22 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001189/0.2892, allocations: 57.48 kB / 0.5459 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.164e-05/0.2893, allocations: 2.25 kB / 0.5459 GB, free: 14.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2894, allocations: 32.09 kB / 0.546 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.089e-05/0.2895, allocations: 40.77 kB / 0.546 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2895, allocations: 5.312 kB / 0.546 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002155/0.2897, allocations: 95.75 kB / 0.5461 GB, free: 14.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.2897, allocations: 27.23 kB / 0.5461 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.2898, allocations: 27.34 kB / 0.5462 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.29, allocations: 131.5 kB / 0.5463 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.29, allocations: 0 / 0.5463 GB, free: 13.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.29, allocations: 1.156 kB / 0.5463 GB, free: 13.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.29, allocations: 0 / 0.5463 GB, free: 13.98 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.0004246/0.2904, allocations: 365.3 kB / 0.5466 GB, free: 13.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.2905, allocations: 13.58 kB / 0.5466 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.2905, allocations: 16.81 kB / 0.5467 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.2907, allocations: 131 kB / 0.5468 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.2907, allocations: 1.75 kB / 0.5468 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.2907, allocations: 5.562 kB / 0.5468 GB, free: 13.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.2909, allocations: 165.5 kB / 0.5469 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.2909, allocations: 0 / 0.5469 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2909, allocations: 0 / 0.5469 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.2909, allocations: 0.9688 kB / 0.5469 GB, free: 13.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.291, allocations: 124.6 kB / 0.5471 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001341/0.2912, allocations: 119.1 kB / 0.5472 GB, free: 13.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001674/0.2913, allocations: 147.8 kB / 0.5473 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.2915, allocations: 137.4 kB / 0.5475 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.2915, allocations: 1 kB / 0.5475 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.2915, allocations: 35.62 kB / 0.5475 GB, free: 12.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=24): time 1.072e-06/0.2915, allocations: 0 / 0.5475 GB, free: 12.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=24): time 0.000562/0.2921, allocations: 469.6 kB / 0.5479 GB, free: 12.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.36e-05/0.2921, allocations: 97.31 kB / 0.548 GB, free: 12.61 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.2922, allocations: 136 kB / 0.5482 GB, free: 12.49 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.2923, allocations: 29.7 kB / 0.5482 GB, free: 12.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.2923, allocations: 88.17 kB / 0.5483 GB, free: 12.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.173e-05/0.2924, allocations: 85.41 kB / 0.5484 GB, free: 12.3 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.345e-05/0.2924, allocations: 31.33 kB / 0.5484 GB, free: 12.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.2926, allocations: 327.3 kB / 0.5487 GB, free: 11.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001236/0.2927, allocations: 129.1 kB / 0.5488 GB, free: 11.88 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.2928, allocations: 131.4 kB / 0.5489 GB, free: 11.81 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002749/0.2931, allocations: 295.1 kB / 0.5492 GB, free: 11.66 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.2931, allocations: 1.344 kB / 0.5492 GB, free: 11.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003238/0.2934, allocations: 318.8 kB / 0.5495 GB, free: 11.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.509e-05/0.2935, allocations: 64.16 kB / 0.5496 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2935, allocations: 3.938 kB / 0.5496 GB, free: 11.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2935, allocations: 5.625 kB / 0.5496 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.2935, allocations: 4.062 kB / 0.5496 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2935, allocations: 0 / 0.5496 GB, free: 11.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.2936, allocations: 16.98 kB / 0.5496 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.2936, allocations: 9.672 kB / 0.5496 GB, free: 11.41 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.0001638/0.2938, allocations: 193.4 kB / 0.5498 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.2938, allocations: 20.75 kB / 0.5498 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.071e-05/0.2938, allocations: 11.94 kB / 0.5498 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.2938, allocations: 0 / 0.5498 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2938, allocations: 1.375 kB / 0.5498 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.013e-06/0.2938, allocations: 0 / 0.5498 GB, free: 11.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.2939, allocations: 127.3 kB / 0.55 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2939, allocations: 4 kB / 0.55 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.2939, allocations: 1.562 kB / 0.55 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.2939, allocations: 3.938 kB / 0.55 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2939, allocations: 3.938 kB / 0.55 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2939, allocations: 1.125 kB / 0.55 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2939, allocations: 3.984 kB / 0.55 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.2945, allocations: 0.5114 MB / 0.5505 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.2945, allocations: 19.38 kB / 0.5505 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.2946, allocations: 4.344 kB / 0.5505 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.2946, allocations: 3.375 kB / 0.5505 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.2946, allocations: 6.219 kB / 0.5505 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2946, allocations: 4.562 kB / 0.5505 GB, free: 10.77 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.311e-05/0.2947, allocations: 109.9 kB / 0.5506 GB, free: 10.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2947, allocations: 0 / 0.5506 GB, free: 10.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.295, allocations: 41.09 kB / 0.5507 GB, free: 10.68 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.0001787/0.2951, allocations: 111.7 kB / 0.5508 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005601/0.2957, allocations: 0.499 MB / 0.5513 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2957, allocations: 0 / 0.5513 GB, free: 10.33 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002931/0.296, allocations: 298.7 kB / 0.5515 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002454/0.2962, allocations: 25.98 kB / 0.5516 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.297, allocations: 0.5346 MB / 0.5521 GB, free: 9.816 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.2971, allocations: 104.8 kB / 0.5522 GB, free: 9.727 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.481e-05/0.2971, allocations: 12.62 kB / 0.5522 GB, free: 9.715 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2971, allocations: 0 / 0.5522 GB, free: 9.715 MB / 398.1 MB Notification: Performance of Templates: time 0.003729/0.3008, allocations: 1.766 MB / 0.5539 GB, free: 8.711 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: 8.185463666915894]