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.0009291/0.0009291, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009506/0.0009506, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.9409/0.9409, allocations: 177.1 MB / 205 MB, free: 5.285 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.2381/0.2381, allocations: 29.41 MB / 290.9 MB, free: 2.379 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.723e-06/1.723e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.195e-05/1.368e-05, allocations: 6.312 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004024/0.004038, allocations: 4.212 MB / 373.9 MB, free: 6.742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.005394, allocations: 1.321 MB / 375.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.005526, allocations: 15.88 kB / 375.2 MB, free: 5.402 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.005915, allocations: 171 kB / 375.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.0062, allocations: 250.5 kB / 375.6 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.00644, allocations: 175.4 kB / 375.8 MB, free: 4.816 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003638/0.006804, allocations: 0.5684 MB / 376.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002405/0.007044, allocations: 229.5 kB / 376.6 MB, free: 4.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/0.007337, allocations: 339.1 kB / 376.9 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005061/0.007843, allocations: 275.2 kB / 377.2 MB, free: 3.422 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.007879, allocations: 32 kB / 377.2 MB, free: 3.391 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.008037, allocations: 131.6 kB / 377.3 MB, free: 3.262 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.008161, allocations: 211.5 kB / 377.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.008269, allocations: 147.7 kB / 377.7 MB, free: 2.91 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.008593, allocations: 386.6 kB / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.008594, allocations: 0 / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.008595, allocations: 4 kB / 378.1 MB, free: 2.527 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.008599, allocations: 4 kB / 378.1 MB, free: 2.523 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.0006656/0.009264, allocations: 0.731 MB / 378.8 MB, free: 1.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.009292, allocations: 11.98 kB / 378.8 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00035/0.009642, allocations: 124.6 kB / 378.9 MB, free: 1.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.01002, allocations: 362.7 kB / 379.3 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.01004, allocations: 29.38 kB / 379.3 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/0.01012, allocations: 44.7 kB / 379.4 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003467/0.01047, allocations: 342 kB / 379.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.01048, allocations: 7.984 kB / 379.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.0105, allocations: 15.94 kB / 379.7 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.817e-05/0.01056, allocations: 28.98 kB / 379.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.01078, allocations: 157.8 kB / 379.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.01194, allocations: 1.547 MB / 381.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.01209, allocations: 106.1 kB / 381.5 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.938e-05/0.01215, allocations: 59.41 kB / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.01217, allocations: 4 kB / 381.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.01219, allocations: 37.39 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.01219, allocations: 3.938 kB / 381.6 MB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007561/0.01295, allocations: 0.5625 MB / 382.2 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.01298, allocations: 77.11 kB / 382.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.01316, allocations: 338.2 kB / 382.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.01318, allocations: 29.7 kB / 382.6 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.0133, allocations: 310.7 kB / 382.9 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.596e-05/0.01333, allocations: 63.48 kB / 383 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.571e-05/0.0134, allocations: 71.58 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01352, allocations: 0.5118 MB / 383.6 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.962e-05/0.01358, allocations: 44.38 kB / 383.6 MB, free: 12.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.01369, allocations: 190.6 kB / 383.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/0.01414, allocations: 262.8 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01415, allocations: 3.938 kB / 384.1 MB, free: 12.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004268/0.01457, allocations: 344.6 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.01459, allocations: 8 kB / 384.4 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002479/0.01483, allocations: 167.7 kB / 384.6 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/0.01514, allocations: 123.7 kB / 384.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.01525, allocations: 55.91 kB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.01665, allocations: 2.363 MB / 387.1 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.01673, allocations: 12 kB / 387.1 MB, free: 8.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01675, allocations: 11.98 kB / 387.2 MB, free: 8.848 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 9.134e-05/0.01684, allocations: 180.5 kB / 387.3 MB, free: 8.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.01688, allocations: 35.81 kB / 387.4 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.01708, allocations: 171.4 kB / 387.5 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.01708, allocations: 4 kB / 387.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01708, allocations: 0 / 387.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.01708, allocations: 0 / 387.5 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.01764, allocations: 0.5901 MB / 388.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.01764, allocations: 0 / 388.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.01774, allocations: 43.91 kB / 388.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.835e-05/0.01779, allocations: 19.67 kB / 388.2 MB, free: 7.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.0178, allocations: 7.938 kB / 388.2 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.01781, allocations: 8.062 kB / 388.2 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01781, allocations: 0 / 388.2 MB, free: 7.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.01807, allocations: 378.3 kB / 388.6 MB, free: 7.309 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.641e-05/0.0181, allocations: 27.75 kB / 388.6 MB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.01812, allocations: 12.03 kB / 388.6 MB, free: 7.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.01819, allocations: 7.984 kB / 388.6 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.01821, allocations: 7.984 kB / 388.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.01822, allocations: 8 kB / 388.6 MB, free: 7.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.01834, allocations: 223 kB / 388.8 MB, free: 7.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01834, allocations: 4 kB / 388.9 MB, free: 7.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.01859, allocations: 87.94 kB / 388.9 MB, free: 6.941 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 6.602e-05/0.01866, allocations: 103.1 kB / 389 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003754/0.01903, allocations: 383.1 kB / 389.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01903, allocations: 4 kB / 389.4 MB, free: 6.438 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.067e-05/0.01912, allocations: 86.05 kB / 389.5 MB, free: 6.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.0194, allocations: 62.5 kB / 389.6 MB, free: 6.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.02049, allocations: 0.7662 MB / 390.3 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.659e-05/0.02056, allocations: 136.4 kB / 390.5 MB, free: 5.332 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.912e-05/0.02065, allocations: 54.92 kB / 390.5 MB, free: 5.281 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.02069, allocations: 24.5 kB / 390.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.02069, allocations: 0 / 390.5 MB, free: 5.258 MB / 362.7 MB Notification: Performance of Templates: time 0.005168/0.02586, allocations: 3.746 MB / 394.3 MB, free: 1.566 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.1012631519697607]