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.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.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 108.8 kB / 17.06 MB, free: 6.023 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.001247/0.001247, allocations: 191 kB / 18 MB, free: 5.109 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.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1725/0.1725, allocations: 38.03 MB / 329.9 MB, free: 8.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 458.1 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3093, allocations: 58.06 MB / 0.5041 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Source): time 0.004543/0.3138, allocations: 3.912 MB / 0.5079 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3151, allocations: 0.8728 MB / 0.5088 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.3152, allocations: 11.72 kB / 0.5088 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.3154, allocations: 48.08 kB / 0.5088 GB, free: 4.695 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004634/0.3159, allocations: 171.5 kB / 0.509 GB, free: 4.594 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.3161, allocations: 83.23 kB / 0.5091 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.3165, allocations: 375.9 kB / 0.5094 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.3167, allocations: 92.61 kB / 0.5095 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.3169, allocations: 162.3 kB / 0.5097 GB, free: 4.277 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000291/0.3173, allocations: 167.7 kB / 0.5098 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.583e-05/0.3173, allocations: 16.97 kB / 0.5098 GB, free: 4.211 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.275e-05/0.3173, allocations: 20.81 kB / 0.5099 GB, free: 4.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.3175, allocations: 84.81 kB / 0.5099 GB, free: 4.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.3176, allocations: 122.7 kB / 0.5101 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.3179, allocations: 252.3 kB / 0.5103 GB, free: 4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3179, allocations: 1.281 kB / 0.5103 GB, free: 4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3179, allocations: 0 / 0.5103 GB, free: 4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.3179, allocations: 0 / 0.5103 GB, free: 4 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007503/0.3187, allocations: 0.5591 MB / 0.5108 GB, free: 3.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.3187, allocations: 12.52 kB / 0.5109 GB, free: 3.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.3188, allocations: 30.56 kB / 0.5109 GB, free: 3.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.3192, allocations: 324.8 kB / 0.5112 GB, free: 3.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.3192, allocations: 22.06 kB / 0.5112 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.74e-05/0.3192, allocations: 18.02 kB / 0.5112 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003613/0.3196, allocations: 270.7 kB / 0.5115 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3196, allocations: 0 / 0.5115 GB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.218e-05/0.3196, allocations: 11.28 kB / 0.5115 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.3196, allocations: 5.156 kB / 0.5115 GB, free: 3.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002512/0.3199, allocations: 160.7 kB / 0.5117 GB, free: 3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009893/0.3209, allocations: 1.184 MB / 0.5128 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.321, allocations: 71.09 kB / 0.5129 GB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.447e-05/0.3211, allocations: 31.09 kB / 0.5129 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.3211, allocations: 0.6562 kB / 0.5129 GB, free: 1.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.3211, allocations: 41.11 kB / 0.513 GB, free: 1.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3211, allocations: 1.5 kB / 0.513 GB, free: 1.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006058/0.3217, allocations: 408.2 kB / 0.5133 GB, free: 1.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.3218, allocations: 79.11 kB / 0.5134 GB, free: 1.398 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.322, allocations: 244.2 kB / 0.5137 GB, free: 1.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.096e-05/0.322, allocations: 26.73 kB / 0.5137 GB, free: 1.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.467e-05/0.3221, allocations: 203.7 kB / 0.5139 GB, free: 1.039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.3222, allocations: 30.95 kB / 0.5139 GB, free: 1.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.941e-05/0.3222, allocations: 50.47 kB / 0.514 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.3223, allocations: 330.8 kB / 0.5143 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.176e-05/0.3223, allocations: 26.95 kB / 0.5143 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.814e-05/0.3224, allocations: 117.2 kB / 0.5144 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.3226, allocations: 165.4 kB / 0.5146 GB, free: 360 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3226, allocations: 1.594 kB / 0.5146 GB, free: 360 kB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002478/0.3228, allocations: 183.7 kB / 0.5147 GB, free: 264 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.3228, allocations: 5.156 kB / 0.5147 GB, free: 264 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.3229, allocations: 7.625 kB / 0.5148 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3229, allocations: 10.55 kB / 0.5148 GB, free: 256 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.3231, allocations: 43.44 kB / 0.5148 GB, free: 248 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.3231, allocations: 9.078 kB / 0.5148 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3232, allocations: 12.73 kB / 0.5148 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.3232, allocations: 8.094 kB / 0.5148 GB, free: 236 kB / 382.1 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 0.0001002/0.3233, allocations: 151.3 kB / 0.515 GB, free: 96 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.3233, allocations: 20.75 kB / 0.515 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.3235, allocations: 99.67 kB / 0.5151 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.3235, allocations: 2.125 kB / 0.5151 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3235, allocations: 0 / 0.5151 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3235, allocations: 1.797 kB / 0.5151 GB, free: 16 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.324, allocations: 422.5 kB / 0.5155 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.324, allocations: 1.922 kB / 0.5155 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.022e-05/0.3241, allocations: 15.08 kB / 0.5155 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3241, allocations: 5.031 kB / 0.5155 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.3241, allocations: 5.672 kB / 0.5155 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3241, allocations: 5.531 kB / 0.5155 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.3241, allocations: 1.406 kB / 0.5155 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002395/0.3244, allocations: 228.3 kB / 0.5158 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.063e-05/0.3245, allocations: 94.75 kB / 0.5158 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3245, allocations: 10.86 kB / 0.5159 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.3246, allocations: 1.891 kB / 0.5159 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.94e-05/0.3246, allocations: 5.359 kB / 0.5159 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.3246, allocations: 2.156 kB / 0.5159 GB, free: 15.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.3248, allocations: 170.4 kB / 0.516 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3248, allocations: 1.344 kB / 0.516 GB, free: 15.23 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003083/0.3251, allocations: 43.48 kB / 0.5161 GB, free: 15.23 MB / 398.1 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 8.619e-05/0.3252, allocations: 105.8 kB / 0.5162 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001796/0.3254, allocations: 85.86 kB / 0.5162 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3254, allocations: 0 / 0.5162 GB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.807e-05/0.3255, allocations: 28.08 kB / 0.5163 GB, free: 15.09 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004734/0.3259, allocations: 70.61 kB / 0.5163 GB, free: 15.06 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007971/0.3267, allocations: 494.5 kB / 0.5168 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003554/0.3271, allocations: 0.7623 MB / 0.5176 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.968e-05/0.3272, allocations: 22.41 kB / 0.5176 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.619e-05/0.3272, allocations: 23.03 kB / 0.5176 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3273, allocations: 3.938 kB / 0.5176 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.005194/0.3325, allocations: 1.786 MB / 0.5194 GB, free: 13.84 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)