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.001038/0.001038, allocations: 80.8 kB / 21.49 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.001139/0.001139, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.001/1.001, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2243/0.2243, allocations: 29.41 MB / 291.2 MB, free: 2.48 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.383e-06/1.383e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.558e-05, allocations: 4.422 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.01163/0.01165, allocations: 3.973 MB / 320.9 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004607/0.01626, allocations: 0.873 MB / 321.7 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002039/0.01646, allocations: 19.81 kB / 321.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.01666, allocations: 43.62 kB / 321.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004696/0.01713, allocations: 166.9 kB / 322 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.01734, allocations: 83.75 kB / 322 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004259/0.01777, allocations: 414.4 kB / 322.4 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.01796, allocations: 76.64 kB / 322.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004771/0.01844, allocations: 283.2 kB / 322.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.01871, allocations: 139.5 kB / 322.9 MB, free: 9.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.54e-05/0.01875, allocations: 20 kB / 322.9 MB, free: 9.848 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003067/0.02182, allocations: 16 kB / 323 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001126/0.02193, allocations: 99.7 kB / 323.1 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.02204, allocations: 91.77 kB / 323.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003126/0.02235, allocations: 199.2 kB / 323.3 MB, free: 9.449 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.02236, allocations: 4 kB / 323.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02236, allocations: 7.938 kB / 323.4 MB, free: 9.438 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.02237, allocations: 0 / 323.4 MB, free: 9.438 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.0007474/0.02311, allocations: 492.4 kB / 323.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.02316, allocations: 11.98 kB / 323.9 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.717e-05/0.02323, allocations: 40.91 kB / 323.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.02363, allocations: 260.6 kB / 324.1 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.02365, allocations: 16.88 kB / 324.2 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.02378, allocations: 40.67 kB / 324.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002902/0.02407, allocations: 215 kB / 324.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.02409, allocations: 3.938 kB / 324.4 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.268e-05/0.02411, allocations: 11.98 kB / 324.4 MB, free: 8.285 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.02412, allocations: 8 kB / 324.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.02426, allocations: 63.89 kB / 324.5 MB, free: 8.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004363/0.02862, allocations: 1.056 MB / 325.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.02886, allocations: 95.64 kB / 325.6 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.02891, allocations: 38.55 kB / 325.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.769e-05/0.02892, allocations: 4 kB / 325.7 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.02895, allocations: 34.56 kB / 325.7 MB, free: 6.879 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.215e-06/0.02896, allocations: 0 / 325.7 MB, free: 6.879 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006494/0.0296, allocations: 281.2 kB / 326 MB, free: 6.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/0.02966, allocations: 106.8 kB / 326.1 MB, free: 6.441 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.02985, allocations: 236.9 kB / 326.3 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.02986, allocations: 25.7 kB / 326.4 MB, free: 6.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.02996, allocations: 184.5 kB / 326.5 MB, free: 5.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.03, allocations: 43.61 kB / 326.6 MB, free: 5.938 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.03006, allocations: 49.55 kB / 326.6 MB, free: 5.883 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.03017, allocations: 334.8 kB / 327 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.616e-05/0.03021, allocations: 16.23 kB / 327 MB, free: 5.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.692e-05/0.0303, allocations: 114.8 kB / 327.1 MB, free: 5.379 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001615/0.03047, allocations: 151.5 kB / 327.2 MB, free: 5.191 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.03047, allocations: 3.938 kB / 327.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.003323/0.03379, allocations: 162.1 kB / 327.4 MB, free: 5.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.03381, allocations: 8.406 kB / 327.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.03382, allocations: 4 kB / 327.4 MB, free: 5.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.302e-05/0.03391, allocations: 28.83 kB / 327.4 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003187/0.03423, allocations: 71.86 kB / 327.5 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.03424, allocations: 4.234 kB / 327.5 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.03434, allocations: 11.95 kB / 327.5 MB, free: 4.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.03436, allocations: 15.98 kB / 327.5 MB, free: 4.875 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 0.0001047/0.03446, allocations: 128.5 kB / 327.7 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.03452, allocations: 19.98 kB / 327.7 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.03471, allocations: 107.3 kB / 327.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.03471, allocations: 0 / 327.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.03472, allocations: 7.984 kB / 327.8 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.03472, allocations: 4 kB / 327.8 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.03499, allocations: 137.7 kB / 327.9 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03499, allocations: 0 / 327.9 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/0.03516, allocations: 31.98 kB / 328 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.03516, allocations: 0 / 328 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.03517, allocations: 7.984 kB / 328 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.03518, allocations: 4 kB / 328 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.03518, allocations: 0 / 328 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/0.03547, allocations: 295.5 kB / 328.3 MB, free: 4.09 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.03551, allocations: 23.81 kB / 328.3 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.03553, allocations: 3.984 kB / 328.3 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001319/0.03567, allocations: 8 kB / 328.3 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.03569, allocations: 7.984 kB / 328.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.0357, allocations: 0 / 328.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.876e-05/0.03579, allocations: 82.75 kB / 328.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03579, allocations: 0 / 328.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003436/0.03613, allocations: 52.03 kB / 328.4 MB, free: 3.914 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 0.0001104/0.03624, allocations: 80.36 kB / 328.5 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003264/0.0395, allocations: 97.98 kB / 328.6 MB, free: 3.723 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/0.03951, allocations: 4 kB / 328.6 MB, free: 3.719 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.272e-05/0.03958, allocations: 45.64 kB / 328.7 MB, free: 3.672 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.04, allocations: 51.97 kB / 328.7 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.04127, allocations: 0.5365 MB / 329.2 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.797e-05/0.04135, allocations: 96.3 kB / 329.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001151/0.04146, allocations: 38.27 kB / 329.4 MB, free: 2.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.04162, allocations: 87.36 kB / 329.5 MB, free: 2.824 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.04162, allocations: 0 / 329.5 MB, free: 2.824 MB / 298.7 MB Notification: Performance of Templates: time 0.009439/0.05106, allocations: 2.565 MB / 332 MB, free: 328 kB / 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.848002356942743]