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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 110.9 kB / 17.06 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 192 kB / 18 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1804/0.1804, allocations: 38.04 MB / 329.9 MB, free: 8.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 63.91 kB / 458.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.364, allocations: 58.06 MB / 0.5041 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC): time 0.005174/0.3693, allocations: 4.086 MB / 0.5081 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3706, allocations: 0.8493 MB / 0.5089 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.3708, allocations: 11.78 kB / 0.5089 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000188/0.371, allocations: 44.67 kB / 0.509 GB, free: 4.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004311/0.3714, allocations: 167.5 kB / 0.5091 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.3716, allocations: 88.36 kB / 0.5092 GB, free: 4.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003996/0.372, allocations: 395.1 kB / 0.5096 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002283/0.3723, allocations: 115.6 kB / 0.5097 GB, free: 3.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.3725, allocations: 183.3 kB / 0.5099 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003146/0.3728, allocations: 177.9 kB / 0.51 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.073e-05/0.3729, allocations: 24.31 kB / 0.5101 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.687e-05/0.3729, allocations: 20.81 kB / 0.5101 GB, free: 3.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.3731, allocations: 88.66 kB / 0.5102 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001606/0.3732, allocations: 140.1 kB / 0.5103 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.3736, allocations: 291.2 kB / 0.5106 GB, free: 3.539 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3736, allocations: 1.156 kB / 0.5106 GB, free: 3.539 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3736, allocations: 3.938 kB / 0.5106 GB, free: 3.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3736, allocations: 0 / 0.5106 GB, free: 3.535 MB / 382.1 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.0009462/0.3746, allocations: 0.5995 MB / 0.5112 GB, free: 3.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.3746, allocations: 16.73 kB / 0.5112 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.151e-05/0.3747, allocations: 31.78 kB / 0.5112 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005484/0.3753, allocations: 338.2 kB / 0.5115 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3753, allocations: 17.5 kB / 0.5116 GB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.3755, allocations: 36.72 kB / 0.5116 GB, free: 2.723 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.3759, allocations: 293 kB / 0.5119 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3759, allocations: 4.938 kB / 0.5119 GB, free: 2.547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.947e-05/0.3759, allocations: 10.8 kB / 0.5119 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.376, allocations: 5.844 kB / 0.5119 GB, free: 2.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.3763, allocations: 184.2 kB / 0.5121 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.3776, allocations: 1.272 MB / 0.5133 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.3779, allocations: 124.9 kB / 0.5134 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.378, allocations: 45.08 kB / 0.5135 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.757e-05/0.378, allocations: 1.703 kB / 0.5135 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.378, allocations: 40.2 kB / 0.5135 GB, free: 1.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.378, allocations: 1.094 kB / 0.5135 GB, free: 1.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008712/0.3789, allocations: 0.5288 MB / 0.514 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.379, allocations: 105.6 kB / 0.5141 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3792, allocations: 240.9 kB / 0.5144 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.3792, allocations: 29.7 kB / 0.5144 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.682e-05/0.3793, allocations: 198.3 kB / 0.5146 GB, free: 340 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.3793, allocations: 42.03 kB / 0.5146 GB, free: 308 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.3794, allocations: 48.33 kB / 0.5147 GB, free: 272 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.854e-05/0.3795, allocations: 335.8 kB / 0.515 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.034e-05/0.3796, allocations: 37.23 kB / 0.515 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.3798, allocations: 137.2 kB / 0.5152 GB, free: 15.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.38, allocations: 190.7 kB / 0.5153 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.38, allocations: 5.219 kB / 0.5153 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004218/0.3804, allocations: 229.9 kB / 0.5156 GB, free: 15.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.3805, allocations: 6.203 kB / 0.5156 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3805, allocations: 3.219 kB / 0.5156 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001316/0.3806, allocations: 31.39 kB / 0.5156 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003295/0.381, allocations: 63.94 kB / 0.5157 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.381, allocations: 9.531 kB / 0.5157 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3811, allocations: 8.5 kB / 0.5157 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3811, allocations: 9.078 kB / 0.5157 GB, free: 15.46 MB / 398.1 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.0001543/0.3813, allocations: 157 kB / 0.5158 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.101e-05/0.3814, allocations: 22.12 kB / 0.5159 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.3816, allocations: 142.9 kB / 0.516 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3817, allocations: 7.062 kB / 0.516 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3817, allocations: 1.25 kB / 0.516 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.3817, allocations: 1.953 kB / 0.516 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.3821, allocations: 288 kB / 0.5163 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.3821, allocations: 0 / 0.5163 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001744/0.3823, allocations: 31.42 kB / 0.5163 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.3823, allocations: 1.281 kB / 0.5163 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.3823, allocations: 6.656 kB / 0.5163 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.3823, allocations: 5.406 kB / 0.5163 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.3823, allocations: 9.312 kB / 0.5163 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004087/0.3827, allocations: 365.2 kB / 0.5167 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.3828, allocations: 95.31 kB / 0.5168 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.609e-05/0.3828, allocations: 2.062 kB / 0.5168 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.383, allocations: 13.69 kB / 0.5168 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.539e-05/0.383, allocations: 12.28 kB / 0.5168 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3831, allocations: 4.891 kB / 0.5168 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000163/0.3832, allocations: 171.2 kB / 0.517 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3832, allocations: 0 / 0.517 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003549/0.3836, allocations: 48.28 kB / 0.517 GB, free: 14.45 MB / 398.1 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.0001196/0.3837, allocations: 99.81 kB / 0.5171 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.3841, allocations: 210.2 kB / 0.5173 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.3841, allocations: 0.5 kB / 0.5173 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.451e-05/0.3842, allocations: 50.31 kB / 0.5174 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.3847, allocations: 58.98 kB / 0.5174 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.3859, allocations: 0.6032 MB / 0.518 GB, free: 13.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.3863, allocations: 0.7683 MB / 0.5187 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001139/0.3864, allocations: 28.89 kB / 0.5188 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.3865, allocations: 20.11 kB / 0.5188 GB, free: 13.06 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3865, allocations: 0.5 kB / 0.5188 GB, free: 13.06 MB / 398.1 MB Notification: Performance of Templates: time 0.006312/0.3928, allocations: 2.222 MB / 0.521 GB, free: 12.87 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)