Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.001896/0.001896, 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.001529/0.001529, 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.448/1.448, 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.1892/0.1892, 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_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [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.002191/0.002191, allocations: 67.91 kB / 493.7 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2781, allocations: 62.47 MB / 0.5432 GB, free: 428 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003346/0.2815, allocations: 2.135 MB / 0.5453 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008215/0.2823, allocations: 0.519 MB / 0.5458 GB, free: 14.35 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.611e-05/0.2824, allocations: 4 kB / 0.5458 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.2825, allocations: 10.95 kB / 0.5458 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.315e-05/0.2826, allocations: 29.45 kB / 0.5458 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.2829, allocations: 74.5 kB / 0.5459 GB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000132/0.2831, allocations: 60.77 kB / 0.5459 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.034e-05/0.2831, allocations: 2.25 kB / 0.5459 GB, free: 14.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.2832, allocations: 32.22 kB / 0.546 GB, free: 14.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.214e-05/0.2833, allocations: 40.83 kB / 0.546 GB, free: 14.19 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.2833, allocations: 5.281 kB / 0.546 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.2835, allocations: 100.4 kB / 0.5461 GB, free: 14.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.2836, allocations: 41.22 kB / 0.5461 GB, free: 14.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.021e-05/0.2836, allocations: 29.59 kB / 0.5462 GB, free: 14.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.2838, allocations: 151.2 kB / 0.5463 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2838, allocations: 1 kB / 0.5463 GB, free: 14 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2838, allocations: 0 / 0.5463 GB, free: 14 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.2838, allocations: 0 / 0.5463 GB, free: 14 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004684/0.2843, allocations: 411.9 kB / 0.5467 GB, free: 13.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2843, allocations: 13.67 kB / 0.5467 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.31e-05/0.2844, allocations: 18.27 kB / 0.5467 GB, free: 13.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001847/0.2846, allocations: 150.1 kB / 0.5469 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2846, allocations: 3.938 kB / 0.5469 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.2846, allocations: 1.438 kB / 0.5469 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.2849, allocations: 231.1 kB / 0.5471 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2849, allocations: 0 / 0.5471 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.2849, allocations: 0.9688 kB / 0.5471 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.2849, allocations: 0 / 0.5471 GB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001905/0.2851, allocations: 198.1 kB / 0.5473 GB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.2852, allocations: 130.6 kB / 0.5474 GB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002248/0.2855, allocations: 212.8 kB / 0.5476 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.2857, allocations: 205.3 kB / 0.5478 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.015e-06/0.2857, allocations: 5 kB / 0.5478 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.2857, allocations: 31.62 kB / 0.5479 GB, free: 12.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 1.112e-06/0.2857, allocations: 5.156 kB / 0.5479 GB, free: 12.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0008093/0.2865, allocations: 0.7043 MB / 0.5486 GB, free: 12.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.2866, allocations: 111.6 kB / 0.5487 GB, free: 12.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2867, allocations: 145.3 kB / 0.5488 GB, free: 12.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.2868, allocations: 27.14 kB / 0.5488 GB, free: 12.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.306e-05/0.2868, allocations: 99.62 kB / 0.5489 GB, free: 12.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.2869, allocations: 134 kB / 0.549 GB, free: 12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.287, allocations: 31.98 kB / 0.5491 GB, free: 11.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.2872, allocations: 342.2 kB / 0.5494 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001893/0.2874, allocations: 197.2 kB / 0.5496 GB, free: 11.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.2875, allocations: 188.3 kB / 0.5498 GB, free: 11.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004488/0.288, allocations: 458.4 kB / 0.5502 GB, free: 11.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.288, allocations: 0 / 0.5502 GB, free: 11.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005154/0.2885, allocations: 462.7 kB / 0.5507 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.606e-05/0.2886, allocations: 86.69 kB / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2886, allocations: 1.469 kB / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2886, allocations: 0 / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.2886, allocations: 0 / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.2886, allocations: 5.594 kB / 0.5507 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.2887, allocations: 27.03 kB / 0.5508 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.2887, allocations: 7.156 kB / 0.5508 GB, free: 10.94 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.0002106/0.2889, allocations: 233.4 kB / 0.551 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.2889, allocations: 24.67 kB / 0.551 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.116e-05/0.289, allocations: 14.28 kB / 0.551 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.289, allocations: 0 / 0.551 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.289, allocations: 0 / 0.551 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.289, allocations: 3.984 kB / 0.551 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.2891, allocations: 146.2 kB / 0.5512 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2891, allocations: 1.062 kB / 0.5512 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.899e-06/0.2891, allocations: 11.94 kB / 0.5512 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2891, allocations: 1 kB / 0.5512 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.2891, allocations: 6.688 kB / 0.5512 GB, free: 10.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.2891, allocations: 7.969 kB / 0.5512 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2891, allocations: 0 / 0.5512 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008733/0.29, allocations: 0.7771 MB / 0.552 GB, free: 10.18 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.29, allocations: 26.33 kB / 0.552 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.05e-05/0.2901, allocations: 5.344 kB / 0.552 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.446e-05/0.2901, allocations: 5.531 kB / 0.552 GB, free: 10.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.2901, allocations: 7.312 kB / 0.552 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.2902, allocations: 10.53 kB / 0.552 GB, free: 10.15 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.848e-05/0.2903, allocations: 118.2 kB / 0.5521 GB, free: 10.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.2903, allocations: 1.25 kB / 0.5521 GB, free: 10.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002698/0.2905, allocations: 61.56 kB / 0.5522 GB, free: 10.05 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.0001785/0.2907, allocations: 109.3 kB / 0.5523 GB, free: 9.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008829/0.2916, allocations: 0.767 MB / 0.553 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2916, allocations: 0 / 0.553 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.2921, allocations: 444 kB / 0.5535 GB, free: 9.262 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.2923, allocations: 40.83 kB / 0.5535 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.2934, allocations: 0.7616 MB / 0.5542 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/0.2935, allocations: 139.6 kB / 0.5544 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.2935, allocations: 7.438 kB / 0.5544 GB, free: 8.262 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2935, allocations: 0 / 0.5544 GB, free: 8.262 MB / 398.1 MB Notification: Performance of Templates: time 0.004613/0.2981, allocations: 2.387 MB / 0.5567 GB, free: 5.883 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.998415626119822]