Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001409/0.001409, allocations: 99.64 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.001514/0.001514, allocations: 214 kB / 24.48 MB, free: 3.93 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.1939/0.1939, allocations: 38.57 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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [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.002204/0.002204, allocations: 71.89 kB / 493.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3491/0.3513, allocations: 62.46 MB / 0.5432 GB, free: 412 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.003812/0.3551, allocations: 2.236 MB / 0.5454 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3571, allocations: 1.017 MB / 0.5464 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.262e-05/0.3571, allocations: 0 / 0.5464 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001691/0.3573, allocations: 18.75 kB / 0.5464 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.3574, allocations: 52.89 kB / 0.5464 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.3585, allocations: 333.1 kB / 0.5467 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.3587, allocations: 118.8 kB / 0.5469 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.652e-05/0.3588, allocations: 2.75 kB / 0.5469 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3589, allocations: 59.25 kB / 0.5469 GB, free: 13.53 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3591, allocations: 77.14 kB / 0.547 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.471e-05/0.3591, allocations: 3.188 kB / 0.547 GB, free: 13.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000988/0.3601, allocations: 0.5554 MB / 0.5475 GB, free: 13.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.983e-05/0.3602, allocations: 38.02 kB / 0.5476 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.3602, allocations: 38.66 kB / 0.5476 GB, free: 13.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007413/0.361, allocations: 0.5275 MB / 0.5481 GB, free: 12.77 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.361, allocations: 3.938 kB / 0.5481 GB, free: 12.77 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.361, allocations: 5.312 kB / 0.5481 GB, free: 12.77 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.361, allocations: 0 / 0.5481 GB, free: 12.77 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005394/0.3615, allocations: 396.6 kB / 0.5485 GB, free: 12.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3616, allocations: 10 kB / 0.5485 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.148e-05/0.3616, allocations: 12.86 kB / 0.5485 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.3619, allocations: 130.2 kB / 0.5487 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.176e-05/0.3619, allocations: 1.656 kB / 0.5487 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.8e-05/0.3619, allocations: 5.469 kB / 0.5487 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.3622, allocations: 155.4 kB / 0.5488 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.3622, allocations: 0 / 0.5488 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.3622, allocations: 4.938 kB / 0.5488 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3622, allocations: 1.188 kB / 0.5488 GB, free: 12.13 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.3623, allocations: 116.9 kB / 0.5489 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.3625, allocations: 122.2 kB / 0.549 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3626, allocations: 128.5 kB / 0.5492 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.3628, allocations: 121.6 kB / 0.5493 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.3628, allocations: 3.938 kB / 0.5493 GB, free: 11.76 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3628, allocations: 36.09 kB / 0.5493 GB, free: 11.71 MB / 398.1 MB Notification: Performance of pre-optimization done (n=20): time 1.032e-06/0.3628, allocations: 1.562 kB / 0.5493 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=20): time 0.0007064/0.3635, allocations: 424.6 kB / 0.5497 GB, free: 11.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.3636, allocations: 97.19 kB / 0.5498 GB, free: 11.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.3637, allocations: 132.6 kB / 0.5499 GB, free: 11.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.3638, allocations: 27.17 kB / 0.55 GB, free: 11.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.3638, allocations: 95.33 kB / 0.5501 GB, free: 11.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.3639, allocations: 71.72 kB / 0.5501 GB, free: 11.07 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.364, allocations: 28.7 kB / 0.5502 GB, free: 11.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3641, allocations: 323.2 kB / 0.5505 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.3643, allocations: 116.1 kB / 0.5506 GB, free: 10.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.3644, allocations: 116.7 kB / 0.5507 GB, free: 10.6 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.3647, allocations: 260.7 kB / 0.5509 GB, free: 10.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3647, allocations: 3.938 kB / 0.5509 GB, free: 10.45 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003908/0.3651, allocations: 305.6 kB / 0.5512 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.276e-05/0.3651, allocations: 56.3 kB / 0.5513 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3651, allocations: 0 / 0.5513 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.3652, allocations: 0 / 0.5513 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.3652, allocations: 1.062 kB / 0.5513 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3652, allocations: 0 / 0.5513 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.065e-05/0.3652, allocations: 13.14 kB / 0.5513 GB, free: 10.21 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.3653, allocations: 9.625 kB / 0.5513 GB, free: 10.21 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.0001618/0.3654, allocations: 181.1 kB / 0.5515 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.3654, allocations: 24.31 kB / 0.5515 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.529e-05/0.3655, allocations: 15.34 kB / 0.5515 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3655, allocations: 1.156 kB / 0.5515 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3655, allocations: 0 / 0.5515 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3655, allocations: 3.984 kB / 0.5515 GB, free: 10.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000123/0.3656, allocations: 128.6 kB / 0.5516 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3656, allocations: 0 / 0.5516 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3656, allocations: 0 / 0.5516 GB, free: 9.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3656, allocations: 4.844 kB / 0.5517 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.3656, allocations: 4.375 kB / 0.5517 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3656, allocations: 1.156 kB / 0.5517 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3656, allocations: 0 / 0.5517 GB, free: 9.867 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005772/0.3662, allocations: 453.5 kB / 0.5521 GB, free: 9.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.659e-05/0.3662, allocations: 20.59 kB / 0.5521 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.3662, allocations: 3.344 kB / 0.5521 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.087e-05/0.3663, allocations: 4.406 kB / 0.5521 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.474e-05/0.3663, allocations: 10.2 kB / 0.5521 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3664, allocations: 5.438 kB / 0.5521 GB, free: 9.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.306e-05/0.3664, allocations: 98.61 kB / 0.5522 GB, free: 9.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3664, allocations: 4.906 kB / 0.5522 GB, free: 9.488 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005019/0.3669, allocations: 134.2 kB / 0.5524 GB, free: 9.469 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.0004506/0.3674, allocations: 198.6 kB / 0.5525 GB, free: 9.336 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006523/0.368, allocations: 443.6 kB / 0.553 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.368, allocations: 0 / 0.553 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002695/0.3683, allocations: 255.6 kB / 0.5532 GB, free: 8.914 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.3685, allocations: 17.64 kB / 0.5532 GB, free: 8.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007805/0.3693, allocations: 496.2 kB / 0.5537 GB, free: 8.578 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001227/0.3694, allocations: 104.3 kB / 0.5538 GB, free: 8.488 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.3695, allocations: 8.625 kB / 0.5538 GB, free: 8.48 MB / 398.1 MB Notification: Performance of SimCode: time 4e-07/0.3695, allocations: 0 / 0.5538 GB, free: 8.48 MB / 398.1 MB Notification: Performance of Templates: time 0.006659/0.3761, allocations: 3.152 MB / 0.5569 GB, free: 5.699 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.946540229022503]