Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.001115/0.001115, 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.001097/0.001097, allocations: 168.7 kB / 24.99 MB, free: 8.793 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.005/1.005, allocations: 177.1 MB / 205.3 MB, free: 5.613 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.2343/0.2343, allocations: 29.41 MB / 291.2 MB, free: 2.512 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.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=741,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.632e-05, allocations: 2.312 kB / 369.6 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.00367/0.003687, allocations: 4.073 MB / 373.7 MB, free: 7.215 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000955/0.004642, allocations: 0.8688 MB / 374.6 MB, free: 6.344 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.004778, allocations: 19.81 kB / 374.6 MB, free: 6.324 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.004923, allocations: 43.62 kB / 374.6 MB, free: 6.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.005262, allocations: 171 kB / 374.8 MB, free: 6.113 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001312/0.005393, allocations: 91.69 kB / 374.9 MB, free: 6.023 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.005685, allocations: 382.5 kB / 375.3 MB, free: 5.648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.005817, allocations: 56.67 kB / 375.3 MB, free: 5.598 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.006082, allocations: 235.2 kB / 375.5 MB, free: 5.367 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.006289, allocations: 143.6 kB / 375.7 MB, free: 5.227 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.948e-05/0.006319, allocations: 20 kB / 375.7 MB, free: 5.207 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.839e-05/0.006347, allocations: 20 kB / 375.7 MB, free: 5.188 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.679e-05/0.006424, allocations: 87.73 kB / 375.8 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.815e-05/0.006502, allocations: 83.77 kB / 375.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.006711, allocations: 191.2 kB / 376.1 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.006713, allocations: 0 / 376.1 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.006714, allocations: 0 / 376.1 MB, free: 4.832 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.006718, allocations: 0 / 376.1 MB, free: 4.832 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005825/0.007301, allocations: 0.5905 MB / 376.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.007336, allocations: 11.98 kB / 376.7 MB, free: 4.195 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.007405, allocations: 44.75 kB / 376.7 MB, free: 4.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.007739, allocations: 283 kB / 377 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.007758, allocations: 16.88 kB / 377 MB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.007789, allocations: 20.36 kB / 377 MB, free: 3.812 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.008024, allocations: 233.5 kB / 377.3 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.008034, allocations: 0 / 377.3 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.008053, allocations: 7.984 kB / 377.3 MB, free: 3.535 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.354e-05/0.008067, allocations: 8 kB / 377.3 MB, free: 3.527 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.008188, allocations: 83.61 kB / 377.4 MB, free: 3.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009521/0.00914, allocations: 1.375 MB / 378.7 MB, free: 1.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.009249, allocations: 86.08 kB / 378.8 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.693e-05/0.009286, allocations: 31.41 kB / 378.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.009298, allocations: 0 / 378.8 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.009326, allocations: 45.33 kB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.213e-06/0.009328, allocations: 4 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005517/0.009879, allocations: 320.8 kB / 379.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.009926, allocations: 81.11 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.0101, allocations: 288.2 kB / 379.6 MB, free: 1.035 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.01011, allocations: 29.7 kB / 379.6 MB, free: 1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.01021, allocations: 242.6 kB / 379.8 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.01023, allocations: 27.78 kB / 379.9 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.01028, allocations: 51.31 kB / 379.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.01041, allocations: 0.5041 MB / 380.4 MB, free: 160 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.758e-05/0.01043, allocations: 19.98 kB / 380.4 MB, free: 140 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01054, allocations: 158.5 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.01067, allocations: 195.1 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.01068, allocations: 0 / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001647/0.01084, allocations: 181.9 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.01085, allocations: 4 kB / 381 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.01086, allocations: 4 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.01087, allocations: 8 kB / 381 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.856e-05/0.01097, allocations: 39.92 kB / 381 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.01098, allocations: 8 kB / 381 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.311e-05/0.01103, allocations: 11.94 kB / 381 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.949e-06/0.01104, allocations: 8 kB / 381 MB, free: 15.4 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 (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.135e-05/0.01113, allocations: 168.5 kB / 381.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.01115, allocations: 28.03 kB / 381.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.01125, allocations: 79.36 kB / 381.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.01125, allocations: 4 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.01126, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.01126, allocations: 3.938 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002896/0.01155, allocations: 405.2 kB / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01155, allocations: 0 / 381.7 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.805e-05/0.01161, allocations: 27.86 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.01161, allocations: 0 / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.01162, allocations: 0 / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01162, allocations: 7.969 kB / 381.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01162, allocations: 4 kB / 381.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.0118, allocations: 271.2 kB / 382 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.669e-05/0.01182, allocations: 15.91 kB / 382 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.01184, allocations: 7.984 kB / 382 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.311e-05/0.01188, allocations: 3.938 kB / 382 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.0119, allocations: 4 kB / 382 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.01191, allocations: 8 kB / 382.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.905e-05/0.012, allocations: 189.1 kB / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.012, allocations: 0 / 382.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.0122, allocations: 40 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * 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 7.771e-05/0.01227, allocations: 103.2 kB / 382.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001264/0.0124, allocations: 87.56 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.172e-06/0.0124, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.01244, allocations: 36.48 kB / 382.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.01274, allocations: 60.39 kB / 382.6 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008945/0.01364, allocations: 485.8 kB / 383 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.92e-05/0.0137, allocations: 88.31 kB / 383.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.078e-05/0.01376, allocations: 30.27 kB / 383.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.094e-05/0.01379, allocations: 20.5 kB / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01379, allocations: 0 / 383.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Templates: time 0.003549/0.01734, allocations: 1.79 MB / 385 MB, free: 11.36 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.994698652997613]