Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.001303/0.001303, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001448/0.001448, allocations: 175.5 kB / 24.91 MB, free: 8.777 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.492 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.2381/0.2381, allocations: 29.43 MB / 291.2 MB, free: 2.418 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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.[0-9,]+.|meter.p.[0-9,]+.|meter.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 316.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.794e-05/1.93e-05, allocations: 2.969 kB / 316.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.005253/0.005272, allocations: 4.199 MB / 321.1 MB, free: 11.69 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.00738, allocations: 1.543 MB / 322.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.007543, allocations: 19.81 kB / 322.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005753/0.008119, allocations: 234.7 kB / 322.9 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.008552, allocations: 294.3 kB / 323.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.009037, allocations: 247.3 kB / 323.4 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005288/0.009566, allocations: 0.6194 MB / 324 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002812/0.009847, allocations: 222.2 kB / 324.2 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004742/0.01032, allocations: 399 kB / 324.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006334/0.01096, allocations: 323.2 kB / 325 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.152e-05/0.01101, allocations: 40 kB / 325 MB, free: 7.77 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.01137, allocations: 239.5 kB / 325.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.01157, allocations: 247.4 kB / 325.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001694/0.01174, allocations: 175.6 kB / 325.6 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.01229, allocations: 0.5334 MB / 326.2 MB, free: 6.586 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.01229, allocations: 4 kB / 326.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01229, allocations: 0 / 326.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.0123, allocations: 0 / 326.2 MB, free: 6.582 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.0008251/0.01312, allocations: 0.6374 MB / 326.8 MB, free: 5.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.01316, allocations: 11.98 kB / 326.8 MB, free: 5.906 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006025/0.01376, allocations: 136.7 kB / 327 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/0.01416, allocations: 316.3 kB / 327.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.01418, allocations: 29.36 kB / 327.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.01429, allocations: 56.61 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.01479, allocations: 411 kB / 327.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.0148, allocations: 0 / 327.8 MB, free: 4.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.641e-05/0.01484, allocations: 23.98 kB / 327.8 MB, free: 4.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.01497, allocations: 60.95 kB / 327.8 MB, free: 4.836 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000356/0.01532, allocations: 217.6 kB / 328 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002054/0.01738, allocations: 2.008 MB / 330.1 MB, free: 2.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002001/0.01758, allocations: 176.4 kB / 330.2 MB, free: 2.309 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.171e-05/0.01767, allocations: 65.94 kB / 330.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.01769, allocations: 8.234 kB / 330.3 MB, free: 2.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.01772, allocations: 46.48 kB / 330.3 MB, free: 2.176 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.723e-06/0.01772, allocations: 0 / 330.3 MB, free: 2.176 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0009157/0.01864, allocations: 0.569 MB / 330.9 MB, free: 1.574 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.01868, allocations: 85.05 kB / 331 MB, free: 1.473 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.01885, allocations: 262.8 kB / 331.3 MB, free: 1.203 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.01888, allocations: 33.64 kB / 331.3 MB, free: 1.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.01899, allocations: 240.6 kB / 331.5 MB, free: 0.918 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.412e-05/0.01907, allocations: 146.9 kB / 331.7 MB, free: 0.7734 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.01917, allocations: 86.09 kB / 331.8 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003374/0.01951, allocations: 346.7 kB / 332.1 MB, free: 344 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.848e-05/0.0196, allocations: 55.81 kB / 332.1 MB, free: 288 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.01974, allocations: 177.2 kB / 332.3 MB, free: 52 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/0.02004, allocations: 290.3 kB / 332.6 MB, free: 15.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.02004, allocations: 8 kB / 332.6 MB, free: 15.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005524/0.0206, allocations: 367.5 kB / 333 MB, free: 15.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.02061, allocations: 12 kB / 333 MB, free: 15.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002968/0.02091, allocations: 184.7 kB / 333.2 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002898/0.0212, allocations: 98.11 kB / 333.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.02141, allocations: 75.84 kB / 333.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.02294, allocations: 2.541 MB / 335.9 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.02307, allocations: 19.92 kB / 335.9 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.0231, allocations: 16.06 kB / 335.9 MB, free: 12.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.02321, allocations: 140.5 kB / 336 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.675e-05/0.02329, allocations: 31.98 kB / 336.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.02357, allocations: 208.9 kB / 336.3 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/0.02359, allocations: 15.92 kB / 336.3 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.02359, allocations: 7.984 kB / 336.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.0236, allocations: 0 / 336.3 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006495/0.02425, allocations: 0.5524 MB / 336.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.02425, allocations: 0 / 336.9 MB, free: 11.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.02452, allocations: 74.56 kB / 336.9 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.02453, allocations: 11.92 kB / 336.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.785e-05/0.02454, allocations: 4 kB / 336.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.02455, allocations: 4 kB / 336.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.02455, allocations: 0 / 336.9 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.02493, allocations: 416.6 kB / 337.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.02501, allocations: 51.72 kB / 337.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.02504, allocations: 15.94 kB / 337.4 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.02515, allocations: 8 kB / 337.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.02519, allocations: 15.95 kB / 337.4 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.02521, allocations: 16 kB / 337.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.632e-05/0.02529, allocations: 88.58 kB / 337.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02529, allocations: 0 / 337.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.02566, allocations: 119.9 kB / 337.7 MB, free: 10.34 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001497/0.02581, allocations: 116.2 kB / 337.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004711/0.02628, allocations: 450.2 kB / 338.2 MB, free: 9.746 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/0.02629, allocations: 4 kB / 338.2 MB, free: 9.742 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.0264, allocations: 104.8 kB / 338.3 MB, free: 9.637 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.02673, allocations: 73.53 kB / 338.4 MB, free: 9.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.02833, allocations: 0.8796 MB / 339.3 MB, free: 8.648 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.02845, allocations: 145.7 kB / 339.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.02858, allocations: 55.25 kB / 339.5 MB, free: 8.434 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.02875, allocations: 115.3 kB / 339.6 MB, free: 8.32 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02876, allocations: 0 / 339.6 MB, free: 8.32 MB / 314.7 MB Notification: Performance of Templates: time 0.007571/0.03633, allocations: 4.658 MB / 344.2 MB, free: 3.738 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.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.043881731107831]