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.001648/0.001648, allocations: 107.6 kB / 21.19 MB, free: 0.668 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.001849/0.001849, allocations: 207.5 kB / 24.48 MB, free: 3.977 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.471/1.471, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.1896/0.1896, allocations: 38.55 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.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.002112/0.002112, allocations: 70.25 kB / 493.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3222, allocations: 62.47 MB / 0.5432 GB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003709/0.3259, allocations: 2.224 MB / 0.5454 GB, free: 14.65 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003538/0.3295, allocations: 1.902 MB / 0.5472 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.538e-05/0.3295, allocations: 1.062 kB / 0.5472 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.3297, allocations: 14.02 kB / 0.5472 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.3298, allocations: 37.09 kB / 0.5473 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.3325, allocations: 0.9571 MB / 0.5482 GB, free: 12.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.3327, allocations: 94.27 kB / 0.5483 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.823e-05/0.3328, allocations: 9.469 kB / 0.5483 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/0.3329, allocations: 47.81 kB / 0.5483 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.333, allocations: 57.95 kB / 0.5484 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.3331, allocations: 2.344 kB / 0.5484 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.3365, allocations: 1.852 MB / 0.5502 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.121e-05/0.3365, allocations: 30.94 kB / 0.5502 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.635e-05/0.3366, allocations: 34.08 kB / 0.5503 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00209/0.3387, allocations: 1.322 MB / 0.5516 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.3387, allocations: 1.062 kB / 0.5516 GB, free: 10.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.137e-06/0.3387, allocations: 3.984 kB / 0.5516 GB, free: 10.45 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.3387, allocations: 0 / 0.5516 GB, free: 10.45 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.0008037/0.3395, allocations: 488.4 kB / 0.552 GB, free: 10.01 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.3396, allocations: 17.95 kB / 0.552 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.076e-05/0.3396, allocations: 17.17 kB / 0.5521 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.3398, allocations: 142 kB / 0.5522 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3398, allocations: 5.219 kB / 0.5522 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.3398, allocations: 1.125 kB / 0.5522 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.3401, allocations: 122.9 kB / 0.5523 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.3401, allocations: 1.188 kB / 0.5523 GB, free: 9.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3401, allocations: 3.938 kB / 0.5523 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3401, allocations: 1.125 kB / 0.5523 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.3402, allocations: 88.34 kB / 0.5524 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001579/0.3403, allocations: 116.7 kB / 0.5525 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.3405, allocations: 112 kB / 0.5526 GB, free: 9.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.3406, allocations: 97.92 kB / 0.5527 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.3407, allocations: 1.344 kB / 0.5527 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3407, allocations: 32.03 kB / 0.5528 GB, free: 9.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/0.3407, allocations: 0 / 0.5528 GB, free: 9.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0004834/0.3412, allocations: 329.8 kB / 0.5531 GB, free: 9.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.3412, allocations: 94.3 kB / 0.5532 GB, free: 9.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.3414, allocations: 149.8 kB / 0.5533 GB, free: 8.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3414, allocations: 26.89 kB / 0.5533 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.3415, allocations: 100 kB / 0.5534 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.3415, allocations: 53.97 kB / 0.5535 GB, free: 8.762 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.3416, allocations: 22.09 kB / 0.5535 GB, free: 8.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.3418, allocations: 322.6 kB / 0.5538 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.3419, allocations: 89.12 kB / 0.5539 GB, free: 8.367 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.342, allocations: 89.69 kB / 0.554 GB, free: 8.312 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.3422, allocations: 193 kB / 0.5542 GB, free: 8.195 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3422, allocations: 0 / 0.5542 GB, free: 8.195 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003032/0.3425, allocations: 244.8 kB / 0.5544 GB, free: 8.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.748e-05/0.3426, allocations: 55.45 kB / 0.5544 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3426, allocations: 0 / 0.5544 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3426, allocations: 1.094 kB / 0.5544 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-07/0.3426, allocations: 8 kB / 0.5544 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3426, allocations: 1.125 kB / 0.5544 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.3427, allocations: 7.234 kB / 0.5545 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.3427, allocations: 4.469 kB / 0.5545 GB, free: 7.984 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.0001549/0.3428, allocations: 169.8 kB / 0.5546 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.3429, allocations: 19.22 kB / 0.5546 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.3429, allocations: 8.125 kB / 0.5546 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3429, allocations: 5.25 kB / 0.5547 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3429, allocations: 0 / 0.5547 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3429, allocations: 0 / 0.5547 GB, free: 7.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.343, allocations: 135.5 kB / 0.5548 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.343, allocations: 0.9688 kB / 0.5548 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-06/0.343, allocations: 3.938 kB / 0.5548 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.343, allocations: 0.9688 kB / 0.5548 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.343, allocations: 7.359 kB / 0.5548 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.343, allocations: 0 / 0.5548 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.343, allocations: 0.9688 kB / 0.5548 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004344/0.3435, allocations: 349.9 kB / 0.5551 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.39e-05/0.3435, allocations: 15.88 kB / 0.5551 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.3435, allocations: 2.281 kB / 0.5551 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.761e-05/0.3436, allocations: 2.906 kB / 0.5552 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.3436, allocations: 6.75 kB / 0.5552 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.3436, allocations: 4 kB / 0.5552 GB, free: 7.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.697e-05/0.3437, allocations: 115.2 kB / 0.5553 GB, free: 7.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3437, allocations: 0 / 0.5553 GB, free: 7.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008869/0.3446, allocations: 334.9 kB / 0.5556 GB, free: 7.117 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.0009034/0.3455, allocations: 374.1 kB / 0.5559 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.3459, allocations: 326.6 kB / 0.5563 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3459, allocations: 0 / 0.5563 GB, free: 6.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.3461, allocations: 197 kB / 0.5564 GB, free: 6.191 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.3464, allocations: 18.05 kB / 0.5565 GB, free: 6.176 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006648/0.3471, allocations: 445 kB / 0.5569 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001015/0.3472, allocations: 104.2 kB / 0.557 GB, free: 5.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.407e-05/0.3472, allocations: 7.438 kB / 0.557 GB, free: 5.574 MB / 398.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3472, allocations: 0 / 0.557 GB, free: 5.574 MB / 398.1 MB Notification: Performance of Templates: time 0.01093/0.3581, allocations: 6.172 MB / 0.563 GB, free: 15.39 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: 11.36678811069578]