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.001592/0.001592, allocations: 112.2 kB / 21.19 MB, free: 0.7539 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.001826/0.001826, allocations: 213.7 kB / 24.49 MB, free: 4.137 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.178/0.178, allocations: 38.53 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_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.001977/0.001977, allocations: 67.89 kB / 493.8 MB, free: 4.348 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3275, allocations: 62.48 MB / 0.5432 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003425/0.3309, allocations: 2.14 MB / 0.5453 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009056/0.3318, allocations: 0.5697 MB / 0.5459 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.3319, allocations: 0 / 0.5459 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.332, allocations: 10.2 kB / 0.5459 GB, free: 14.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.823e-05/0.3321, allocations: 26.48 kB / 0.5459 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.3325, allocations: 85.86 kB / 0.546 GB, free: 14.34 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.3326, allocations: 64.52 kB / 0.5461 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.336e-05/0.3327, allocations: 2 kB / 0.5461 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3328, allocations: 32.31 kB / 0.5461 GB, free: 14.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.161e-05/0.3328, allocations: 37.45 kB / 0.5461 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.848e-06/0.3329, allocations: 1.25 kB / 0.5461 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002394/0.3331, allocations: 124 kB / 0.5463 GB, free: 14.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.3332, allocations: 42.94 kB / 0.5463 GB, free: 14.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.3332, allocations: 40.84 kB / 0.5463 GB, free: 14.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002278/0.3334, allocations: 158.4 kB / 0.5465 GB, free: 14.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3334, allocations: 7.938 kB / 0.5465 GB, free: 14.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3334, allocations: 3.938 kB / 0.5465 GB, free: 14.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.3334, allocations: 1.062 kB / 0.5465 GB, free: 14.04 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.0004877/0.3339, allocations: 403.3 kB / 0.5469 GB, free: 13.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.334, allocations: 13.03 kB / 0.5469 GB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.334, allocations: 17.95 kB / 0.5469 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3342, allocations: 145.3 kB / 0.5471 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.3342, allocations: 5.125 kB / 0.5471 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.3342, allocations: 1.125 kB / 0.5471 GB, free: 13.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3344, allocations: 134.2 kB / 0.5472 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.3344, allocations: 1.031 kB / 0.5472 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.3344, allocations: 0 / 0.5472 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3344, allocations: 1.25 kB / 0.5472 GB, free: 13.42 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.3345, allocations: 92.48 kB / 0.5473 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001822/0.3347, allocations: 173.8 kB / 0.5474 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3348, allocations: 108.4 kB / 0.5476 GB, free: 13.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.228e-05/0.3349, allocations: 97.91 kB / 0.5476 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-06/0.3349, allocations: 5.094 kB / 0.5476 GB, free: 13.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.335, allocations: 31.59 kB / 0.5477 GB, free: 13.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=40): time 9.22e-07/0.335, allocations: 3.938 kB / 0.5477 GB, free: 13.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005996/0.3356, allocations: 474.5 kB / 0.5481 GB, free: 12.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.429e-05/0.3357, allocations: 112.1 kB / 0.5482 GB, free: 12.77 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3358, allocations: 147.6 kB / 0.5484 GB, free: 12.64 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3358, allocations: 26.7 kB / 0.5484 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.111e-05/0.3359, allocations: 95.98 kB / 0.5485 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.336, allocations: 142.5 kB / 0.5486 GB, free: 12.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/0.3361, allocations: 31.55 kB / 0.5487 GB, free: 12.36 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3362, allocations: 342.1 kB / 0.549 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.561e-05/0.3363, allocations: 92.34 kB / 0.5491 GB, free: 12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.886e-05/0.3364, allocations: 88.94 kB / 0.5492 GB, free: 11.97 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.3368, allocations: 375.3 kB / 0.5495 GB, free: 11.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3368, allocations: 0 / 0.5495 GB, free: 11.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0003532/0.3371, allocations: 319 kB / 0.5498 GB, free: 11.65 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.267e-05/0.3372, allocations: 90.78 kB / 0.5499 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3372, allocations: 0 / 0.5499 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.3372, allocations: 0.9062 kB / 0.5499 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.3372, allocations: 0 / 0.5499 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.3373, allocations: 1.156 kB / 0.5499 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/0.3373, allocations: 23.38 kB / 0.5499 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.654e-05/0.3373, allocations: 7.062 kB / 0.5499 GB, free: 11.57 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.0002242/0.3376, allocations: 233.7 kB / 0.5502 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.3376, allocations: 23.61 kB / 0.5502 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.253e-05/0.3376, allocations: 17.47 kB / 0.5502 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3376, allocations: 8.922 kB / 0.5502 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3376, allocations: 0 / 0.5502 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3376, allocations: 1.219 kB / 0.5502 GB, free: 11.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/0.3378, allocations: 197.3 kB / 0.5504 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3378, allocations: 1.094 kB / 0.5504 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-06/0.3378, allocations: 7.938 kB / 0.5504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3378, allocations: 0 / 0.5504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.3378, allocations: 7.562 kB / 0.5504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.3378, allocations: 0 / 0.5504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3378, allocations: 0 / 0.5504 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3389, allocations: 0.912 MB / 0.5513 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-05/0.3389, allocations: 25.61 kB / 0.5513 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.3389, allocations: 6.125 kB / 0.5513 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.256e-05/0.3389, allocations: 6.531 kB / 0.5513 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.936e-05/0.339, allocations: 2.5 kB / 0.5514 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.339, allocations: 9.969 kB / 0.5514 GB, free: 10.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.452e-05/0.3391, allocations: 115.1 kB / 0.5515 GB, free: 10.64 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3391, allocations: 4.031 kB / 0.5515 GB, free: 10.64 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.3394, allocations: 66.06 kB / 0.5515 GB, free: 10.63 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.0001875/0.3395, allocations: 114 kB / 0.5516 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009056/0.3404, allocations: 0.8164 MB / 0.5524 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3405, allocations: 1.062 kB / 0.5524 GB, free: 10.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006123/0.3411, allocations: 0.6032 MB / 0.553 GB, free: 9.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.3413, allocations: 29.41 kB / 0.5531 GB, free: 9.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009661/0.3423, allocations: 0.661 MB / 0.5537 GB, free: 9.332 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.3427, allocations: 0.7477 MB / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.3427, allocations: 11.44 kB / 0.5544 GB, free: 8.543 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3427, allocations: 0 / 0.5544 GB, free: 8.543 MB / 398.1 MB Notification: Performance of Templates: time 0.004651/0.3474, allocations: 2.324 MB / 0.5567 GB, free: 6.23 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: 8.014818247873336]