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.0007039/0.0007039, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009417/0.001646, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007154/0.0007154, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009296/0.001645, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.8612/0.8612, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07516/0.9364, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.1313/0.1313, allocations: 29.42 MB / 273.4 MB, free: 1.441 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1059/0.2372, allocations: 9.519 MB / 282.9 MB, free: 12.84 MB / 282.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.473e-06/1.473e-06, allocations: 0 / 284.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.825e-06/9.298e-06, allocations: 5.297 kB / 284.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.003296/0.003305, allocations: 3.833 MB / 288 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.004213, allocations: 0.9004 MB / 289 MB, free: 8.152 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.004319, allocations: 14.84 kB / 289 MB, free: 8.145 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.977e-05/0.004409, allocations: 40.23 kB / 289 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.004671, allocations: 173.4 kB / 289.2 MB, free: 7.965 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001293/0.004801, allocations: 90.8 kB / 289.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002893/0.00509, allocations: 382.1 kB / 289.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.005212, allocations: 64.41 kB / 289.7 MB, free: 7.645 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.00555, allocations: 282.6 kB / 290 MB, free: 7.488 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.005699, allocations: 117 kB / 290.1 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.005725, allocations: 16.22 kB / 290.1 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.532e-05/0.00575, allocations: 14.88 kB / 290.1 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.261e-05/0.005812, allocations: 79.34 kB / 290.2 MB, free: 7.395 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.157e-05/0.005884, allocations: 71.12 kB / 290.3 MB, free: 7.383 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.006053, allocations: 175.1 kB / 290.4 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.036e-05/0.006063, allocations: 1.375 kB / 290.4 MB, free: 7.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.41e-07/0.006063, allocations: 0 / 290.4 MB, free: 7.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.006074, allocations: 0 / 290.4 MB, free: 7.293 MB / 282.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.0005036/0.006577, allocations: 0.4982 MB / 290.9 MB, free: 6.902 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.006603, allocations: 9.625 kB / 290.9 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.761e-05/0.006651, allocations: 37.53 kB / 291 MB, free: 6.887 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.006894, allocations: 245.8 kB / 291.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.417e-05/0.006908, allocations: 21.11 kB / 291.2 MB, free: 6.672 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.006935, allocations: 26.12 kB / 291.3 MB, free: 6.66 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.007108, allocations: 200.4 kB / 291.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.007116, allocations: 1.25 kB / 291.5 MB, free: 6.496 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.00713, allocations: 10.59 kB / 291.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.007137, allocations: 5.125 kB / 291.5 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.007214, allocations: 65.83 kB / 291.5 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006602/0.007874, allocations: 0.9868 MB / 292.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.007952, allocations: 59.59 kB / 292.6 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.101e-05/0.007973, allocations: 24.92 kB / 292.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.007984, allocations: 2.562 kB / 292.6 MB, free: 5.465 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.008002, allocations: 36.12 kB / 292.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.008003, allocations: 0 / 292.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001659/0.008169, allocations: 94.25 kB / 292.7 MB, free: 5.363 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.118e-05/0.0082, allocations: 79.7 kB / 292.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.008314, allocations: 229.9 kB / 293 MB, free: 5.086 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.995e-06/0.008322, allocations: 25.7 kB / 293.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.008386, allocations: 177.5 kB / 293.2 MB, free: 4.895 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.008404, allocations: 27.84 kB / 293.3 MB, free: 4.871 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.008438, allocations: 42.25 kB / 293.3 MB, free: 4.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.915e-05/0.008507, allocations: 336.6 kB / 293.6 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.008523, allocations: 17.23 kB / 293.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.928e-05/0.008573, allocations: 97.31 kB / 293.8 MB, free: 4.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.828e-05/0.008661, allocations: 146.5 kB / 293.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.008663, allocations: 1.25 kB / 293.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001083/0.008772, allocations: 128.8 kB / 294 MB, free: 4.152 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.008783, allocations: 5.875 kB / 294 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.008788, allocations: 3.531 kB / 294 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.008797, allocations: 5.375 kB / 294 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.008926, allocations: 51.52 kB / 294.1 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.008932, allocations: 12.7 kB / 294.1 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.358e-05/0.008985, allocations: 22.53 kB / 294.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.008994, allocations: 11.03 kB / 294.1 MB, free: 4.109 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (21): * Single equations (assignments): 21 * 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 6.106e-05/0.009055, allocations: 124.9 kB / 294.3 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.009075, allocations: 12.11 kB / 294.3 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.711e-05/0.009152, allocations: 71.28 kB / 294.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.009153, allocations: 2.75 kB / 294.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-06/0.009155, allocations: 0 / 294.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.009158, allocations: 5.25 kB / 294.3 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.009265, allocations: 119.2 kB / 294.5 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.009266, allocations: 1.125 kB / 294.5 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.34e-05/0.00933, allocations: 22.17 kB / 294.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.986e-05/0.00935, allocations: 21.53 kB / 294.5 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.009351, allocations: 1.531 kB / 294.5 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.009357, allocations: 1.25 kB / 294.5 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.009358, allocations: 1.469 kB / 294.5 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.009359, allocations: 0 / 294.5 MB, free: 3.789 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.009462, allocations: 174.6 kB / 294.7 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.009475, allocations: 5.719 kB / 294.7 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.009514, allocations: 2.031 kB / 294.7 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.009527, allocations: 14.77 kB / 294.7 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.00953, allocations: 0 / 294.7 MB, free: 3.617 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.096e-05/0.009571, allocations: 76.2 kB / 294.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009571, allocations: 0 / 294.8 MB, free: 3.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001546/0.009725, allocations: 48.23 kB / 294.8 MB, free: 3.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 7 * 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 5.308e-05/0.009779, allocations: 90.48 kB / 294.9 MB, free: 3.488 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.865e-05/0.009857, allocations: 67.91 kB / 295 MB, free: 3.457 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.009865, allocations: 6.734 kB / 295 MB, free: 3.453 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.009886, allocations: 25.78 kB / 295 MB, free: 3.438 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.0101, allocations: 76.17 kB / 295.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003238/0.01334, allocations: 494.7 kB / 295.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.01339, allocations: 92.3 kB / 295.7 MB, free: 2.887 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.787e-05/0.01345, allocations: 21.95 kB / 295.7 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.063e-05/0.01353, allocations: 87.34 kB / 295.8 MB, free: 2.781 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01353, allocations: 0 / 295.8 MB, free: 2.781 MB / 282.7 MB Notification: Performance of Templates: time 0.003595/0.01712, allocations: 2.058 MB / 297.8 MB, free: 0.793 MB / 282.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.5346558149904013]