Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.0009553/0.0009553, 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.00144/0.00144, allocations: 162.9 kB / 24.99 MB, free: 9.273 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.015/1.015, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2433/0.2433, allocations: 29.41 MB / 291.2 MB, free: 2.5 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.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.764e-05, allocations: 2.312 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004251/0.004268, allocations: 4.701 MB / 374.3 MB, free: 6.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.005909, allocations: 1.305 MB / 375.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.006075, allocations: 19.81 kB / 375.7 MB, free: 5.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007358/0.00681, allocations: 406.2 kB / 376 MB, free: 4.848 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004391/0.007249, allocations: 270.4 kB / 376.3 MB, free: 4.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.007601, allocations: 171.4 kB / 376.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.008056, allocations: 0.5723 MB / 377.1 MB, free: 3.84 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.008361, allocations: 225.5 kB / 377.3 MB, free: 3.621 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003709/0.008732, allocations: 354.8 kB / 377.6 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003044/0.009037, allocations: 267.3 kB / 377.9 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.009072, allocations: 28 kB / 377.9 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001801/0.009252, allocations: 131.7 kB / 378 MB, free: 2.855 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.009396, allocations: 211.5 kB / 378.2 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.009519, allocations: 155.6 kB / 378.4 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000378/0.009897, allocations: 382.7 kB / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.009899, allocations: 0 / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.009899, allocations: 0 / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.009904, allocations: 0 / 378.8 MB, free: 2.121 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.000737/0.01064, allocations: 0.7426 MB / 379.5 MB, free: 1.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.01068, allocations: 15.98 kB / 379.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003948/0.01107, allocations: 120.6 kB / 379.6 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.01148, allocations: 358.8 kB / 380 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.09e-05/0.0115, allocations: 25.38 kB / 380 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.017e-05/0.01159, allocations: 56.61 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.01195, allocations: 338 kB / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.01197, allocations: 0 / 380.4 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.01199, allocations: 12 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/0.01205, allocations: 32.92 kB / 380.4 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002221/0.01228, allocations: 157.8 kB / 380.6 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.01351, allocations: 1.547 MB / 382.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.0137, allocations: 102.2 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.01378, allocations: 67.34 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.0138, allocations: 0 / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.01382, allocations: 41.39 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.01382, allocations: 0 / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008717/0.0147, allocations: 0.5724 MB / 382.9 MB, free: 13.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.01473, allocations: 81.11 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/0.01494, allocations: 334.2 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.01495, allocations: 33.64 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001281/0.01508, allocations: 310.7 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.01512, allocations: 59.48 kB / 383.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.678e-05/0.01519, allocations: 71.56 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.01532, allocations: 0.5157 MB / 384.3 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.104e-05/0.01538, allocations: 36.25 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.0155, allocations: 199.6 kB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.01571, allocations: 254.6 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.01572, allocations: 3.938 kB / 384.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004427/0.01616, allocations: 344.8 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.01617, allocations: 4 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002641/0.01644, allocations: 171.7 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000335/0.01677, allocations: 123.6 kB / 385.4 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.01689, allocations: 55.91 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.01847, allocations: 2.359 MB / 387.8 MB, free: 8.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.01858, allocations: 11.98 kB / 387.9 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.01859, allocations: 12 kB / 387.9 MB, free: 8.445 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.01869, allocations: 184.4 kB / 388 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.01873, allocations: 39.75 kB / 388.1 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/0.01895, allocations: 174 kB / 388.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.01895, allocations: 0 / 388.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01895, allocations: 0 / 388.3 MB, free: 8.035 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.01896, allocations: 4 kB / 388.3 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005783/0.01953, allocations: 0.586 MB / 388.8 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.01954, allocations: 0 / 388.8 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.01965, allocations: 48.09 kB / 388.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.073e-05/0.0197, allocations: 23.67 kB / 388.9 MB, free: 7.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.01972, allocations: 11.94 kB / 388.9 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.01972, allocations: 0 / 388.9 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.01972, allocations: 160 / 388.9 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.02, allocations: 378.2 kB / 389.3 MB, free: 6.898 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.788e-05/0.02002, allocations: 27.75 kB / 389.3 MB, free: 6.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.02005, allocations: 4 kB / 389.3 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.022e-05/0.02012, allocations: 7.984 kB / 389.3 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.02015, allocations: 19.92 kB / 389.4 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.02016, allocations: 11.98 kB / 389.4 MB, free: 6.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001198/0.02028, allocations: 219 kB / 389.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02028, allocations: 0 / 389.6 MB, free: 6.617 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.02056, allocations: 88 kB / 389.7 MB, free: 6.531 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.954e-05/0.02065, allocations: 99.25 kB / 389.8 MB, free: 6.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004136/0.02107, allocations: 376.2 kB / 390.1 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-06/0.02107, allocations: 0 / 390.1 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.02117, allocations: 86.17 kB / 390.2 MB, free: 5.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.02147, allocations: 64.86 kB / 390.3 MB, free: 5.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.02265, allocations: 0.7695 MB / 391 MB, free: 5.078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.431e-05/0.02273, allocations: 136.4 kB / 391.2 MB, free: 4.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000103/0.02283, allocations: 58.92 kB / 391.2 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.02288, allocations: 28.5 kB / 391.3 MB, free: 4.844 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02288, allocations: 0 / 391.3 MB, free: 4.844 MB / 362.7 MB Notification: Performance of Templates: time 0.005691/0.02857, allocations: 3.744 MB / 395 MB, free: 1.152 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.036496137967333]