Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0009048/0.0009048, allocations: 80.8 kB / 21.49 MB, free: 3 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.0009502/0.0009502, allocations: 172.7 kB / 24.91 MB, free: 9.215 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.006/1.006, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3066/0.3066, allocations: 29.42 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.51e-07/8.51e-07, allocations: 0 / 316.9 MB, free: 15.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.388e-06/1.024e-05, allocations: 6.797 kB / 316.9 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004205/0.004215, allocations: 4.291 MB / 321.2 MB, free: 11.65 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001881/0.006096, allocations: 1.536 MB / 322.7 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.006241, allocations: 19.81 kB / 322.7 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.0066, allocations: 151 kB / 322.9 MB, free: 9.945 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003972/0.006997, allocations: 282.4 kB / 323.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004242/0.007421, allocations: 271.1 kB / 323.4 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004579/0.007879, allocations: 0.6117 MB / 324 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002171/0.008096, allocations: 218.3 kB / 324.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004036/0.0085, allocations: 411 kB / 324.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.008789, allocations: 327.1 kB / 325 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.974e-05/0.008828, allocations: 36 kB / 325 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005564/0.009385, allocations: 235.6 kB / 325.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001514/0.009536, allocations: 247.4 kB / 325.5 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.009657, allocations: 175.6 kB / 325.6 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.01009, allocations: 0.5451 MB / 326.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.493e-06/0.01009, allocations: 0 / 326.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.01009, allocations: 0 / 326.2 MB, free: 6.621 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.0101, allocations: 0 / 326.2 MB, free: 6.621 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.0007011/0.0108, allocations: 0.6296 MB / 326.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.01083, allocations: 11.98 kB / 326.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004656/0.01129, allocations: 136.7 kB / 327 MB, free: 5.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.01163, allocations: 324.2 kB / 327.3 MB, free: 5.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.01165, allocations: 25.38 kB / 327.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.01e-05/0.01174, allocations: 56.67 kB / 327.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003884/0.01213, allocations: 415 kB / 327.8 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.01214, allocations: 4 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.849e-05/0.01217, allocations: 19.98 kB / 327.8 MB, free: 4.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.01227, allocations: 56.95 kB / 327.8 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002704/0.01254, allocations: 221.6 kB / 328.1 MB, free: 4.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001683/0.01422, allocations: 2.004 MB / 330.1 MB, free: 2.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001744/0.0144, allocations: 176.3 kB / 330.2 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.137e-05/0.01447, allocations: 69.75 kB / 330.3 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.01449, allocations: 4 kB / 330.3 MB, free: 2.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.01451, allocations: 42.5 kB / 330.3 MB, free: 2.223 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.833e-06/0.01452, allocations: 0 / 330.3 MB, free: 2.223 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007883/0.0153, allocations: 0.5729 MB / 330.9 MB, free: 1.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.01534, allocations: 81.23 kB / 331 MB, free: 1.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.01548, allocations: 270.8 kB / 331.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.0155, allocations: 29.7 kB / 331.3 MB, free: 1.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/0.01559, allocations: 240.7 kB / 331.5 MB, free: 0.9609 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.931e-05/0.01566, allocations: 150.7 kB / 331.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.976e-05/0.01574, allocations: 82.09 kB / 331.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.01582, allocations: 342.8 kB / 332.1 MB, free: 392 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.422e-05/0.01588, allocations: 59.8 kB / 332.1 MB, free: 332 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.01626, allocations: 181.2 kB / 332.3 MB, free: 92 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.01649, allocations: 290.3 kB / 332.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.0165, allocations: 0 / 332.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004435/0.01694, allocations: 375.2 kB / 333 MB, free: 15.36 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.01695, allocations: 7.938 kB / 333 MB, free: 15.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003189/0.01727, allocations: 192.6 kB / 333.2 MB, free: 15.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.01752, allocations: 102.4 kB / 333.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.0177, allocations: 79.83 kB / 333.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/0.01935, allocations: 2.537 MB / 335.9 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.942e-05/0.01945, allocations: 12 kB / 335.9 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.01947, allocations: 19.98 kB / 335.9 MB, free: 12.2 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.0001101/0.01958, allocations: 140.5 kB / 336 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.595e-05/0.01965, allocations: 31.97 kB / 336.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.01988, allocations: 208.8 kB / 336.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/0.01989, allocations: 19.97 kB / 336.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.01989, allocations: 0 / 336.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.0199, allocations: 0 / 336.3 MB, free: 11.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.02057, allocations: 0.5484 MB / 336.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.02057, allocations: 3.984 kB / 336.9 MB, free: 11.21 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/0.02079, allocations: 71.89 kB / 336.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.02079, allocations: 7.938 kB / 336.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.02081, allocations: 8.062 kB / 336.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.02081, allocations: 4 kB / 336.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.02081, allocations: 0 / 336.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006284/0.02144, allocations: 420.4 kB / 337.4 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.02157, allocations: 47.73 kB / 337.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.02163, allocations: 11.95 kB / 337.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002424/0.02188, allocations: 11.98 kB / 337.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.453e-05/0.02193, allocations: 15.97 kB / 337.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.278e-05/0.02196, allocations: 8 kB / 337.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.02211, allocations: 88.62 kB / 337.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.02211, allocations: 4 kB / 337.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005545/0.02266, allocations: 112 kB / 337.6 MB, free: 10.39 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.0002735/0.02294, allocations: 120.4 kB / 337.8 MB, free: 10.26 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007371/0.02367, allocations: 461.8 kB / 338.2 MB, free: 9.781 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/0.02369, allocations: 4 kB / 338.2 MB, free: 9.777 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.02382, allocations: 88.7 kB / 338.3 MB, free: 9.688 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.02412, allocations: 83.11 kB / 338.4 MB, free: 9.609 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.02554, allocations: 0.8847 MB / 339.3 MB, free: 8.684 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.02564, allocations: 149.7 kB / 339.4 MB, free: 8.516 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000124/0.02576, allocations: 47.25 kB / 339.5 MB, free: 8.473 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.02593, allocations: 111.3 kB / 339.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/0.02593, allocations: 0 / 339.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of Templates: time 0.007184/0.03311, allocations: 4.662 MB / 344.2 MB, free: 3.781 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.009794168174267]