Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.001054/0.001054, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00138/0.00138, allocations: 174.3 kB / 24.92 MB, free: 8.777 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.076/1.076, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.2586/0.2586, allocations: 29.41 MB / 291.2 MB, free: 2.391 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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=3704,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 316.8 MB, free: 20 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.622e-05, allocations: 4.703 kB / 316.8 MB, free: 16 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.0037/0.003716, allocations: 3.922 MB / 320.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009698/0.004686, allocations: 0.873 MB / 321.6 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.004813, allocations: 19.81 kB / 321.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.004962, allocations: 43.62 kB / 321.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006043/0.005566, allocations: 170.9 kB / 321.9 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002155/0.005781, allocations: 83.75 kB / 321.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.006142, allocations: 418.4 kB / 322.4 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.0063, allocations: 72.66 kB / 322.4 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000354/0.006654, allocations: 287.2 kB / 322.7 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.006857, allocations: 135.6 kB / 322.8 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.006888, allocations: 23.98 kB / 322.9 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.892e-05/0.006917, allocations: 20 kB / 322.9 MB, free: 9.941 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.591e-05/0.007003, allocations: 87.73 kB / 323 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.983e-05/0.007093, allocations: 95.75 kB / 323.1 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.007356, allocations: 195.2 kB / 323.2 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.00736, allocations: 0 / 323.2 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.007361, allocations: 4 kB / 323.3 MB, free: 9.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.007365, allocations: 0 / 323.3 MB, free: 9.566 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0005605/0.007925, allocations: 0.4925 MB / 323.7 MB, free: 9.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.007958, allocations: 11.98 kB / 323.8 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.00803, allocations: 40.91 kB / 323.8 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.008315, allocations: 256.6 kB / 324 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.008332, allocations: 20.86 kB / 324.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.008438, allocations: 32.69 kB / 324.1 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.008643, allocations: 230.9 kB / 324.3 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.008652, allocations: 0 / 324.3 MB, free: 8.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.008668, allocations: 8 kB / 324.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.008675, allocations: 4 kB / 324.3 MB, free: 8.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.988e-05/0.008765, allocations: 71.83 kB / 324.4 MB, free: 8.328 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009181/0.009683, allocations: 1.056 MB / 325.5 MB, free: 7.207 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.009859, allocations: 95.64 kB / 325.6 MB, free: 7.086 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.009892, allocations: 34.61 kB / 325.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.455e-05/0.009907, allocations: 0 / 325.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/0.009933, allocations: 42.56 kB / 325.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.009934, allocations: 0 / 325.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004907/0.01043, allocations: 284.9 kB / 325.9 MB, free: 6.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.01047, allocations: 102.8 kB / 326 MB, free: 6.555 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.0106, allocations: 240.9 kB / 326.2 MB, free: 6.309 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.01061, allocations: 25.7 kB / 326.3 MB, free: 6.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.26e-05/0.01068, allocations: 184.5 kB / 326.5 MB, free: 6.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.41e-05/0.0107, allocations: 39.62 kB / 326.5 MB, free: 6.051 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.563e-05/0.01075, allocations: 49.53 kB / 326.5 MB, free: 5.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.985e-05/0.01083, allocations: 334.8 kB / 326.9 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.01085, allocations: 16.23 kB / 326.9 MB, free: 5.645 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.01092, allocations: 114.8 kB / 327 MB, free: 5.492 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.01104, allocations: 161.3 kB / 327.1 MB, free: 5.293 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.01104, allocations: 3.938 kB / 327.2 MB, free: 5.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001978/0.01124, allocations: 162.6 kB / 327.3 MB, free: 5.121 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01125, allocations: 8 kB / 327.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.01126, allocations: 4 kB / 327.3 MB, free: 5.109 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.802e-05/0.01133, allocations: 20.84 kB / 327.3 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.01148, allocations: 59.89 kB / 327.4 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.01149, allocations: 4.547 kB / 327.4 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.368e-05/0.01155, allocations: 11.95 kB / 327.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.01156, allocations: 11.98 kB / 327.4 MB, free: 5 MB / 298.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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 prepare postOptimizeDAE: time 8.331e-05/0.01165, allocations: 128.5 kB / 327.6 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.01168, allocations: 19.98 kB / 327.6 MB, free: 4.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.01182, allocations: 104.4 kB / 327.7 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.01183, allocations: 4 kB / 327.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.01183, allocations: 0 / 327.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01183, allocations: 7.984 kB / 327.7 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.01202, allocations: 137.7 kB / 327.8 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01202, allocations: 0 / 327.8 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.505e-05/0.01211, allocations: 27.98 kB / 327.9 MB, free: 4.543 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01211, allocations: 4 kB / 327.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.01212, allocations: 0 / 327.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01212, allocations: 0 / 327.9 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.01212, allocations: 8 kB / 327.9 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.01232, allocations: 291.5 kB / 328.1 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.01235, allocations: 27.8 kB / 328.2 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.01237, allocations: 0 / 328.2 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.829e-05/0.01243, allocations: 8 kB / 328.2 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.01245, allocations: 7.984 kB / 328.2 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.01246, allocations: 3.984 kB / 328.2 MB, free: 4.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.461e-05/0.01251, allocations: 78.78 kB / 328.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01251, allocations: 0 / 328.3 MB, free: 4.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002028/0.01271, allocations: 44 kB / 328.3 MB, free: 4.059 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * 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 (14): * Single equations (assignments): 13 * 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 9.448e-05/0.01281, allocations: 88.38 kB / 328.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001786/0.01299, allocations: 96.62 kB / 328.5 MB, free: 3.863 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.01299, allocations: 4 kB / 328.5 MB, free: 3.859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.118e-05/0.01303, allocations: 44.77 kB / 328.5 MB, free: 3.812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.01334, allocations: 65.08 kB / 328.6 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/0.01427, allocations: 0.5379 MB / 329.1 MB, free: 3.188 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.492e-05/0.01433, allocations: 92.31 kB / 329.2 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.562e-05/0.01441, allocations: 30.28 kB / 329.3 MB, free: 3.051 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.01452, allocations: 95.34 kB / 329.4 MB, free: 2.957 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01452, allocations: 0 / 329.4 MB, free: 2.957 MB / 298.7 MB Notification: Performance of Templates: time 0.004607/0.01913, allocations: 2.466 MB / 331.8 MB, free: 0.5352 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1780879772268236]