Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.0009689/0.0009689, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00114/0.00114, allocations: 170.2 kB / 25 MB, free: 8.352 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.034/1.034, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.2333/0.2333, allocations: 29.42 MB / 291.2 MB, free: 2.52 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_matrixEqCirc1,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_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,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_matrixEqCirc1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.519e-05/2.686e-05, allocations: 5.828 kB / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00262/0.002646, allocations: 2.207 MB / 371.8 MB, free: 9.098 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006873/0.003334, allocations: 0.5415 MB / 372.4 MB, free: 8.555 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.802e-05/0.003392, allocations: 3.938 kB / 372.4 MB, free: 8.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.003532, allocations: 15.91 kB / 372.4 MB, free: 8.535 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.003644, allocations: 23.84 kB / 372.4 MB, free: 8.512 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003182/0.003962, allocations: 79.67 kB / 372.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.004077, allocations: 67.77 kB / 372.6 MB, free: 8.367 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.143e-05/0.004118, allocations: 0 / 372.6 MB, free: 8.367 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.004267, allocations: 47.77 kB / 372.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.688e-05/0.004314, allocations: 27.89 kB / 372.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.997e-06/0.004323, allocations: 0 / 372.6 MB, free: 8.293 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.004488, allocations: 99.78 kB / 372.7 MB, free: 8.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.004533, allocations: 19.92 kB / 372.8 MB, free: 8.176 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.004557, allocations: 7.938 kB / 372.8 MB, free: 8.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.004723, allocations: 111.6 kB / 372.9 MB, free: 8.059 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.004726, allocations: 0 / 372.9 MB, free: 8.059 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.004728, allocations: 4 kB / 372.9 MB, free: 8.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.004732, allocations: 0 / 372.9 MB, free: 8.055 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003584/0.00509, allocations: 426 kB / 373.3 MB, free: 7.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.005129, allocations: 11.98 kB / 373.3 MB, free: 7.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.00517, allocations: 8.891 kB / 373.3 MB, free: 7.578 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.005314, allocations: 128.5 kB / 373.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.005322, allocations: 384 / 373.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.909e-06/0.005332, allocations: 4.359 kB / 373.4 MB, free: 7.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.005438, allocations: 75.89 kB / 373.5 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.005446, allocations: 7.875 kB / 373.5 MB, free: 7.328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.005454, allocations: 4 kB / 373.5 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.005462, allocations: 4 kB / 373.5 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.965e-05/0.005491, allocations: 41.7 kB / 373.6 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001052/0.005596, allocations: 124.6 kB / 373.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.847e-05/0.005655, allocations: 72.75 kB / 373.8 MB, free: 7.027 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.005687, allocations: 49.42 kB / 373.8 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.089e-06/0.005692, allocations: 3.984 kB / 373.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.005715, allocations: 37.39 kB / 373.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 9.72e-07/0.005716, allocations: 0 / 373.9 MB, free: 6.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002171/0.005933, allocations: 202.6 kB / 374.1 MB, free: 6.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.005971, allocations: 81.11 kB / 374.1 MB, free: 6.598 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.006068, allocations: 189.7 kB / 374.3 MB, free: 6.398 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.006079, allocations: 29.64 kB / 374.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/0.006124, allocations: 138.9 kB / 374.5 MB, free: 6.223 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.82e-05/0.006173, allocations: 39.62 kB / 374.5 MB, free: 6.184 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.006205, allocations: 27.38 kB / 374.5 MB, free: 6.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.006331, allocations: 0.4923 MB / 375 MB, free: 5.645 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.933e-05/0.00637, allocations: 45.69 kB / 375.1 MB, free: 5.594 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.006398, allocations: 41.7 kB / 375.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.691e-05/0.006474, allocations: 115 kB / 375.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006476, allocations: 0 / 375.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001168/0.006593, allocations: 153 kB / 375.4 MB, free: 5.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.006635, allocations: 45.69 kB / 375.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.006639, allocations: 0 / 375.4 MB, free: 5.199 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.006652, allocations: 3.938 kB / 375.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.006653, allocations: 0 / 375.4 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.006658, allocations: 3.938 kB / 375.4 MB, free: 5.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.962e-05/0.006677, allocations: 4 kB / 375.4 MB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.006694, allocations: 8 kB / 375.4 MB, free: 5.18 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 8.811e-05/0.006782, allocations: 202.2 kB / 375.6 MB, free: 4.965 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.006796, allocations: 11.95 kB / 375.7 MB, free: 4.953 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.35e-05/0.00681, allocations: 16.45 kB / 375.7 MB, free: 4.941 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.006815, allocations: 7.922 kB / 375.7 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.006818, allocations: 0 / 375.7 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006821, allocations: 0 / 375.7 MB, free: 4.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.621e-05/0.006897, allocations: 132.5 kB / 375.8 MB, free: 4.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006899, allocations: 4 kB / 375.8 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.006899, allocations: 3.938 kB / 375.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.006901, allocations: 0 / 375.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.006909, allocations: 4 kB / 375.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.00691, allocations: 0 / 375.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.006912, allocations: 3.938 kB / 375.8 MB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.007092, allocations: 219.8 kB / 376 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.007106, allocations: 11.94 kB / 376.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.00712, allocations: 0 / 376.1 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.007133, allocations: 8 kB / 376.1 MB, free: 4.484 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.407e-05/0.007147, allocations: 3.938 kB / 376.1 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.007151, allocations: 4 kB / 376.1 MB, free: 4.477 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.007196, allocations: 142.4 kB / 376.2 MB, free: 4.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007196, allocations: 0 / 376.2 MB, free: 4.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001712/0.007368, allocations: 31.94 kB / 376.2 MB, free: 4.309 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.000152/0.00752, allocations: 115.2 kB / 376.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001757/0.007695, allocations: 206.4 kB / 376.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.007697, allocations: 0 / 376.6 MB, free: 3.953 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.98e-05/0.007767, allocations: 140.8 kB / 376.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.007949, allocations: 17.56 kB / 376.7 MB, free: 3.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.008284, allocations: 252 kB / 377 MB, free: 3.496 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.55e-05/0.008319, allocations: 63.34 kB / 377 MB, free: 3.414 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.84e-05/0.008338, allocations: 8.125 kB / 377 MB, free: 3.406 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/0.008351, allocations: 8.5 kB / 377 MB, free: 3.398 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.008352, allocations: 3.938 kB / 377 MB, free: 3.395 MB / 346.7 MB Notification: Performance of Templates: time 0.003112/0.01146, allocations: 1.391 MB / 378.4 MB, free: 2.02 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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.1329861159902066]