Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001507/0.001507, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001668/0.001668, allocations: 209.8 kB / 24.5 MB, free: 4.133 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.1696/0.1696, allocations: 38.53 MB / 353.2 MB, free: 12.54 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [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.00204/0.00204, allocations: 75.89 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3245, allocations: 62.47 MB / 0.5432 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003577/0.3281, allocations: 2.261 MB / 0.5454 GB, free: 14.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003233/0.3313, allocations: 2.117 MB / 0.5475 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.813e-05/0.3313, allocations: 1.094 kB / 0.5475 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.3315, allocations: 9.328 kB / 0.5475 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.3316, allocations: 41.45 kB / 0.5476 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002291/0.3339, allocations: 0.9641 MB / 0.5485 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.334, allocations: 98.59 kB / 0.5486 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.3341, allocations: 6.047 kB / 0.5486 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.3342, allocations: 46.69 kB / 0.5487 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.806e-05/0.3343, allocations: 62.95 kB / 0.5487 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.3343, allocations: 1.438 kB / 0.5487 GB, free: 12.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00327/0.3376, allocations: 2.183 MB / 0.5508 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.77e-05/0.3377, allocations: 36.08 kB / 0.5509 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.334e-05/0.3377, allocations: 37.11 kB / 0.5509 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00179/0.3395, allocations: 1.366 MB / 0.5522 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3395, allocations: 0 / 0.5522 GB, free: 10.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3395, allocations: 1.5 kB / 0.5523 GB, free: 10.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.3395, allocations: 0 / 0.5523 GB, free: 10.05 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000676/0.3402, allocations: 486.4 kB / 0.5527 GB, free: 9.609 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.3402, allocations: 16.64 kB / 0.5527 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.3403, allocations: 9.484 kB / 0.5527 GB, free: 9.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.3405, allocations: 146.6 kB / 0.5529 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.3405, allocations: 5.281 kB / 0.5529 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.3405, allocations: 1.375 kB / 0.5529 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.3407, allocations: 84.31 kB / 0.553 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.3407, allocations: 3.984 kB / 0.553 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3407, allocations: 0 / 0.553 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.3407, allocations: 1.125 kB / 0.553 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.3408, allocations: 38.39 kB / 0.553 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000173/0.3409, allocations: 145.3 kB / 0.5531 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.525e-05/0.341, allocations: 61.89 kB / 0.5532 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.3411, allocations: 40.44 kB / 0.5532 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.104e-06/0.3411, allocations: 0 / 0.5532 GB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/0.3411, allocations: 43.48 kB / 0.5533 GB, free: 9.082 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 7.71e-07/0.3411, allocations: 0 / 0.5533 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003571/0.3415, allocations: 221 kB / 0.5535 GB, free: 8.969 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.3416, allocations: 89.58 kB / 0.5536 GB, free: 8.871 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.3417, allocations: 148.8 kB / 0.5537 GB, free: 8.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.902e-05/0.3417, allocations: 27.42 kB / 0.5537 GB, free: 8.719 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.243e-05/0.3418, allocations: 100.1 kB / 0.5538 GB, free: 8.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.675e-05/0.3418, allocations: 60.23 kB / 0.5539 GB, free: 8.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.3419, allocations: 26.55 kB / 0.5539 GB, free: 8.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.342, allocations: 323.5 kB / 0.5542 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.823e-05/0.3421, allocations: 41.55 kB / 0.5543 GB, free: 8.207 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.341e-05/0.3421, allocations: 43.97 kB / 0.5543 GB, free: 8.191 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.3423, allocations: 176.3 kB / 0.5545 GB, free: 8.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3423, allocations: 3.938 kB / 0.5545 GB, free: 8.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002259/0.3425, allocations: 175.3 kB / 0.5547 GB, free: 7.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.3426, allocations: 47.48 kB / 0.5547 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.3426, allocations: 1.094 kB / 0.5547 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3426, allocations: 0 / 0.5547 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.3426, allocations: 0 / 0.5547 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.3426, allocations: 1 kB / 0.5547 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.523e-05/0.3427, allocations: 11.02 kB / 0.5547 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.3427, allocations: 5.156 kB / 0.5547 GB, free: 7.934 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.0001515/0.3429, allocations: 172.5 kB / 0.5549 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.3429, allocations: 11.8 kB / 0.5549 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.114e-05/0.3429, allocations: 12.25 kB / 0.5549 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.3429, allocations: 4 kB / 0.5549 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3429, allocations: 5.062 kB / 0.5549 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3429, allocations: 3.984 kB / 0.5549 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.3431, allocations: 169.3 kB / 0.5551 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.3431, allocations: 1.188 kB / 0.5551 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.52e-07/0.3431, allocations: 0 / 0.5551 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3431, allocations: 0 / 0.5551 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3431, allocations: 3.688 kB / 0.5551 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.3431, allocations: 1.312 kB / 0.5551 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3431, allocations: 0 / 0.5551 GB, free: 7.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003712/0.3435, allocations: 303.3 kB / 0.5554 GB, free: 7.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.3435, allocations: 7.266 kB / 0.5554 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.3435, allocations: 7.5 kB / 0.5554 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.75e-05/0.3435, allocations: 2.5 kB / 0.5554 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.3436, allocations: 2.594 kB / 0.5554 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.3436, allocations: 3.781 kB / 0.5554 GB, free: 7.359 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.661e-05/0.3437, allocations: 113.5 kB / 0.5555 GB, free: 7.27 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3437, allocations: 0 / 0.5555 GB, free: 7.27 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009379/0.3446, allocations: 336.3 kB / 0.5558 GB, free: 7.207 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.0008797/0.3455, allocations: 380.4 kB / 0.5562 GB, free: 6.871 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003433/0.3458, allocations: 243.2 kB / 0.5564 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3458, allocations: 0 / 0.5564 GB, free: 6.621 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.346, allocations: 163.3 kB / 0.5566 GB, free: 6.449 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3463, allocations: 19.03 kB / 0.5566 GB, free: 6.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005817/0.3468, allocations: 391.5 kB / 0.557 GB, free: 6.02 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.3472, allocations: 0.7119 MB / 0.5577 GB, free: 5.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.442e-05/0.3472, allocations: 7.438 kB / 0.5577 GB, free: 5.273 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3472, allocations: 0 / 0.5577 GB, free: 5.273 MB / 398.1 MB Notification: Performance of Templates: time 0.01027/0.3575, allocations: 6.125 MB / 0.5637 GB, free: 15.14 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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: 10.494993465021253]