Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001051/0.001051, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001114/0.001114, allocations: 171.4 kB / 24.91 MB, free: 9.203 MB / 18.57 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.067/1.067, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.2586/0.2586, allocations: 29.42 MB / 291.2 MB, free: 2.5 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.[0-9,]+.|zr_q.[0-9,]+.|zx_d.[0-9,]+.|zx_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.38e-05, allocations: 2.969 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.004022/0.004055, allocations: 2.319 MB / 319.2 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003381/0.007437, allocations: 1.982 MB / 321.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.007514, allocations: 0 / 321.2 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.007726, allocations: 19.91 kB / 321.2 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001068/0.007833, allocations: 31.77 kB / 321.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002204/0.01004, allocations: 0.9271 MB / 322.2 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.01017, allocations: 75.64 kB / 322.3 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.01021, allocations: 4.172 kB / 322.3 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.01035, allocations: 43.89 kB / 322.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.01042, allocations: 31.89 kB / 322.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.01043, allocations: 4 kB / 322.3 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.01244, allocations: 1.952 MB / 324.3 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.582e-05/0.01248, allocations: 15.92 kB / 324.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.01251, allocations: 11.94 kB / 324.3 MB, free: 8.492 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00126/0.01377, allocations: 1.484 MB / 325.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.01377, allocations: 0 / 325.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.01377, allocations: 0 / 325.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.01378, allocations: 4 kB / 325.8 MB, free: 7 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004517/0.01423, allocations: 424.7 kB / 326.2 MB, free: 6.555 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.01428, allocations: 11.98 kB / 326.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.01432, allocations: 4.938 kB / 326.2 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.01445, allocations: 130.8 kB / 326.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.01445, allocations: 7.938 kB / 326.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-06/0.01446, allocations: 3.984 kB / 326.4 MB, free: 6.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.01456, allocations: 74.22 kB / 326.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.01457, allocations: 0 / 326.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.01457, allocations: 0 / 326.4 MB, free: 6.289 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-06/0.01458, allocations: 8 kB / 326.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.0146, allocations: 37.69 kB / 326.5 MB, free: 6.238 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.171e-05/0.01466, allocations: 63.86 kB / 326.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.977e-05/0.01471, allocations: 56.22 kB / 326.6 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.504e-05/0.01474, allocations: 46.58 kB / 326.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-06/0.01474, allocations: 0 / 326.7 MB, free: 6.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.01477, allocations: 38.5 kB / 326.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.01477, allocations: 0 / 326.7 MB, free: 5.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001457/0.01491, allocations: 150.8 kB / 326.8 MB, free: 5.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.01496, allocations: 93.09 kB / 326.9 MB, free: 5.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.01505, allocations: 123.6 kB / 327.1 MB, free: 5.574 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.01506, allocations: 33.73 kB / 327.1 MB, free: 5.535 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.136e-05/0.01509, allocations: 88.06 kB / 327.2 MB, free: 5.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.713e-05/0.01514, allocations: 27.73 kB / 327.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.01517, allocations: 17.72 kB / 327.2 MB, free: 5.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.036e-05/0.01526, allocations: 322.8 kB / 327.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.01529, allocations: 44.52 kB / 327.6 MB, free: 5.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.01531, allocations: 33.7 kB / 327.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.931e-05/0.01537, allocations: 101.9 kB / 327.7 MB, free: 4.863 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01537, allocations: 4 kB / 327.7 MB, free: 4.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.735e-05/0.01545, allocations: 113 kB / 327.8 MB, free: 4.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/0.01548, allocations: 45.75 kB / 327.9 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01549, allocations: 0 / 327.9 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.0155, allocations: 7.922 kB / 327.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.304e-06/0.0155, allocations: 3.938 kB / 327.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.01551, allocations: 0 / 327.9 MB, free: 4.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.01554, allocations: 4 kB / 327.9 MB, free: 4.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.01555, allocations: 0 / 327.9 MB, free: 4.664 MB / 298.7 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 7.307e-05/0.01562, allocations: 154.4 kB / 328 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.012e-05/0.01563, allocations: 7.938 kB / 328 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.726e-05/0.01565, allocations: 12.42 kB / 328.1 MB, free: 4.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.01565, allocations: 4 kB / 328.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01565, allocations: 0 / 328.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.01566, allocations: 0 / 328.1 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.089e-05/0.01572, allocations: 77.81 kB / 328.1 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01572, allocations: 4 kB / 328.1 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-06/0.01572, allocations: 0 / 328.1 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-07/0.01572, allocations: 0 / 328.1 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.01573, allocations: 4 kB / 328.1 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01573, allocations: 3.938 kB / 328.1 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01573, allocations: 0 / 328.1 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.01585, allocations: 174.4 kB / 328.3 MB, free: 4.164 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.819e-06/0.01586, allocations: 11.98 kB / 328.3 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.01587, allocations: 0 / 328.3 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.44e-05/0.01588, allocations: 7.938 kB / 328.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.111e-05/0.01589, allocations: 3.984 kB / 328.3 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.0159, allocations: 4 kB / 328.3 MB, free: 4.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.033e-05/0.01592, allocations: 26.58 kB / 328.4 MB, free: 4.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01592, allocations: 0 / 328.4 MB, free: 4.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004534/0.01637, allocations: 315.3 kB / 328.7 MB, free: 3.801 MB / 298.7 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.0009345/0.01731, allocations: 402 kB / 329.1 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.01745, allocations: 167.6 kB / 329.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.01745, allocations: 0 / 329.2 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.011e-05/0.0175, allocations: 113.9 kB / 329.3 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001043/0.01761, allocations: 9.203 kB / 329.4 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004491/0.01806, allocations: 259.9 kB / 329.6 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.291e-05/0.01809, allocations: 63.34 kB / 329.7 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.231e-05/0.0181, allocations: 3.984 kB / 329.7 MB, free: 2.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.921e-05/0.01818, allocations: 71.36 kB / 329.7 MB, free: 2.629 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01818, allocations: 0 / 329.7 MB, free: 2.629 MB / 298.7 MB Notification: Performance of Templates: time 0.008581/0.02676, allocations: 7.25 MB / 337 MB, free: 11.39 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.19806201569736]