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.001002/0.001002, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001074/0.001074, allocations: 165.7 kB / 24.99 MB, free: 8.789 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 0.9721/0.9721, allocations: 177.1 MB / 205.3 MB, free: 5.656 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.2214/0.2214, allocations: 29.41 MB / 291.2 MB, free: 2.527 MB / 266.7 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.[0-9,]+.|zr_q.[0-9,]+.",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.[0-9,]+.|zr_q.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 369.6 MB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.873e-05, allocations: 5.969 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002704/0.002723, allocations: 2.207 MB / 371.8 MB, free: 9.113 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006062/0.003329, allocations: 0.5454 MB / 372.4 MB, free: 8.566 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.903e-05/0.003378, allocations: 0 / 372.4 MB, free: 8.566 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.003532, allocations: 15.92 kB / 372.4 MB, free: 8.551 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 8.14e-05/0.003613, allocations: 27.77 kB / 372.4 MB, free: 8.523 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.00394, allocations: 75.75 kB / 372.5 MB, free: 8.449 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.004044, allocations: 59.77 kB / 372.6 MB, free: 8.391 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.807e-05/0.004082, allocations: 11.92 kB / 372.6 MB, free: 8.379 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.004214, allocations: 35.91 kB / 372.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.004254, allocations: 27.89 kB / 372.6 MB, free: 8.316 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.004263, allocations: 4 kB / 372.6 MB, free: 8.312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.004403, allocations: 99.72 kB / 372.7 MB, free: 8.215 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.251e-05/0.004455, allocations: 39.86 kB / 372.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.617e-05/0.004481, allocations: 19.88 kB / 372.8 MB, free: 8.156 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.004642, allocations: 155.4 kB / 372.9 MB, free: 8.004 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004644, allocations: 0 / 372.9 MB, free: 8.004 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004645, allocations: 0 / 372.9 MB, free: 8.004 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.004649, allocations: 0 / 372.9 MB, free: 8.004 MB / 346.7 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.0003503/0.004999, allocations: 0.4975 MB / 373.4 MB, free: 7.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.005035, allocations: 19.98 kB / 373.5 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.246e-05/0.005088, allocations: 20.78 kB / 373.5 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.005216, allocations: 140.9 kB / 373.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.005225, allocations: 384 / 373.6 MB, free: 7.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.005236, allocations: 8.375 kB / 373.6 MB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.00536, allocations: 117.2 kB / 373.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.005366, allocations: 3.938 kB / 373.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.005373, allocations: 0 / 373.7 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.00538, allocations: 4 kB / 373.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.049e-05/0.005431, allocations: 78.02 kB / 373.8 MB, free: 7.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.005539, allocations: 153 kB / 374 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.005614, allocations: 109.1 kB / 374.1 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.005666, allocations: 89.73 kB / 374.2 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-06/0.00567, allocations: 0 / 374.2 MB, free: 6.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.005694, allocations: 45.33 kB / 374.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=40): time 6.91e-07/0.005694, allocations: 0 / 374.2 MB, free: 6.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003458/0.00604, allocations: 443.4 kB / 374.6 MB, free: 6.117 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.006083, allocations: 101.1 kB / 374.7 MB, free: 6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.006188, allocations: 205.3 kB / 374.9 MB, free: 5.785 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.006197, allocations: 25.7 kB / 375 MB, free: 5.754 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.614e-05/0.006243, allocations: 143.5 kB / 375.1 MB, free: 5.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.834e-05/0.006322, allocations: 146.8 kB / 375.3 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.00636, allocations: 47.36 kB / 375.3 MB, free: 5.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.006482, allocations: 0.5079 MB / 375.8 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.33e-05/0.006535, allocations: 81.69 kB / 375.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.385e-05/0.006579, allocations: 82.67 kB / 376 MB, free: 4.719 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.006705, allocations: 211.2 kB / 376.2 MB, free: 4.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006707, allocations: 0 / 376.2 MB, free: 4.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0001892/0.006896, allocations: 308.7 kB / 376.5 MB, free: 4.176 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.006944, allocations: 77.62 kB / 376.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.006948, allocations: 0 / 376.5 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.00696, allocations: 8.062 kB / 376.6 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.094e-06/0.006962, allocations: 4 kB / 376.6 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.006969, allocations: 0 / 376.6 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.883e-05/0.006998, allocations: 19.84 kB / 376.6 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.007016, allocations: 8 kB / 376.6 MB, free: 4.055 MB / 346.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 0.0003846/0.007401, allocations: 238.2 kB / 376.8 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.007429, allocations: 39.84 kB / 376.9 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.169e-05/0.007441, allocations: 5.969 kB / 376.9 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.007442, allocations: 4 kB / 376.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.007445, allocations: 0 / 376.9 MB, free: 3.758 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.007447, allocations: 4 kB / 376.9 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.911e-05/0.007536, allocations: 164.4 kB / 377 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007538, allocations: 3.938 kB / 377 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.007538, allocations: 0 / 377 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.007542, allocations: 7.938 kB / 377 MB, free: 3.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.007553, allocations: 7.938 kB / 377.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.007553, allocations: 0 / 377.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.007554, allocations: 0 / 377.1 MB, free: 3.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003395/0.007894, allocations: 479.5 kB / 377.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.585e-05/0.00791, allocations: 19.78 kB / 377.5 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.007935, allocations: 8 kB / 377.5 MB, free: 3.008 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.718e-05/0.007953, allocations: 8.031 kB / 377.6 MB, free: 3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.007971, allocations: 11.98 kB / 377.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.00798, allocations: 4 kB / 377.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.001e-05/0.00803, allocations: 147.2 kB / 377.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008031, allocations: 0 / 377.7 MB, free: 2.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001753/0.008206, allocations: 63.94 kB / 377.8 MB, free: 2.777 MB / 346.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.0001318/0.008338, allocations: 115.2 kB / 377.9 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.008634, allocations: 398.3 kB / 378.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008636, allocations: 0 / 378.3 MB, free: 2.238 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.008785, allocations: 264.7 kB / 378.5 MB, free: 1.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.008963, allocations: 35.19 kB / 378.6 MB, free: 1.926 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004807/0.009444, allocations: 0.4929 MB / 379.1 MB, free: 1.398 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.802e-05/0.009492, allocations: 91.81 kB / 379.2 MB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.741e-05/0.009509, allocations: 7.969 kB / 379.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.175e-05/0.009521, allocations: 8.562 kB / 379.2 MB, free: 1.273 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.009522, allocations: 7.938 kB / 379.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of Templates: time 0.00429/0.01381, allocations: 2.801 MB / 382 MB, free: 14.48 MB / 362.7 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=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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: 2.978043975075707]