Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 110.2 kB / 17.75 MB, free: 5.352 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.001042/0.001042, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.283/1.283, allocations: 222.9 MB / 242.4 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.1752/0.1752, allocations: 38.04 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2984, allocations: 58.06 MB / 0.5048 GB, free: 8.121 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.004886/0.3034, allocations: 4.334 MB / 0.509 GB, free: 5.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3047, allocations: 0.9374 MB / 0.5099 GB, free: 4.449 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.3048, allocations: 11.91 kB / 0.5099 GB, free: 4.445 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002221/0.3051, allocations: 55.23 kB / 0.51 GB, free: 4.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005592/0.3056, allocations: 249.8 kB / 0.5102 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.3059, allocations: 97.59 kB / 0.5103 GB, free: 4.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005058/0.3064, allocations: 0.4923 MB / 0.5108 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.3067, allocations: 151.6 kB / 0.5109 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003094/0.307, allocations: 226.3 kB / 0.5112 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.3074, allocations: 271.4 kB / 0.5114 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.04e-05/0.3075, allocations: 23.72 kB / 0.5114 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.461e-05/0.3075, allocations: 24.53 kB / 0.5115 GB, free: 3.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001707/0.3077, allocations: 147.5 kB / 0.5116 GB, free: 3.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3079, allocations: 171.2 kB / 0.5118 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004231/0.3083, allocations: 374.2 kB / 0.5121 GB, free: 3.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3083, allocations: 4.547 kB / 0.5121 GB, free: 3.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3083, allocations: 1.188 kB / 0.5121 GB, free: 3.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.3084, allocations: 0 / 0.5121 GB, free: 3.465 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009982/0.3094, allocations: 0.6684 MB / 0.5128 GB, free: 2.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.3094, allocations: 13.78 kB / 0.5128 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.413e-05/0.3095, allocations: 38.11 kB / 0.5128 GB, free: 2.906 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.31, allocations: 379.9 kB / 0.5132 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.31, allocations: 22.22 kB / 0.5132 GB, free: 2.613 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.133e-05/0.3101, allocations: 28.98 kB / 0.5132 GB, free: 2.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.3106, allocations: 358.2 kB / 0.5136 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3106, allocations: 0 / 0.5136 GB, free: 2.406 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.724e-05/0.3106, allocations: 8.031 kB / 0.5136 GB, free: 2.402 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.3107, allocations: 29.31 kB / 0.5136 GB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003998/0.3111, allocations: 239.2 kB / 0.5138 GB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.3126, allocations: 1.379 MB / 0.5152 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003454/0.313, allocations: 163.7 kB / 0.5154 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.3132, allocations: 96.88 kB / 0.5154 GB, free: 1.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.3132, allocations: 6.594 kB / 0.5155 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.3132, allocations: 36.98 kB / 0.5155 GB, free: 1.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.454e-06/0.3132, allocations: 3.984 kB / 0.5155 GB, free: 1.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001227/0.3145, allocations: 0.7708 MB / 0.5162 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.3145, allocations: 79.48 kB / 0.5163 GB, free: 448 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002675/0.3148, allocations: 301 kB / 0.5166 GB, free: 288 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3148, allocations: 25.7 kB / 0.5166 GB, free: 256 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3149, allocations: 220.3 kB / 0.5168 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.315, allocations: 56.42 kB / 0.5169 GB, free: 20 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3151, allocations: 56.83 kB / 0.5169 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3152, allocations: 335 kB / 0.5173 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3153, allocations: 71.31 kB / 0.5173 GB, free: 15.64 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.3155, allocations: 173.8 kB / 0.5175 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003871/0.3159, allocations: 259.3 kB / 0.5177 GB, free: 15.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3159, allocations: 1.156 kB / 0.5177 GB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005416/0.3165, allocations: 318.9 kB / 0.5181 GB, free: 15.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3165, allocations: 6.938 kB / 0.5181 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.3165, allocations: 3.844 kB / 0.5181 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002317/0.3168, allocations: 52.16 kB / 0.5181 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.317, allocations: 51.02 kB / 0.5182 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.3184, allocations: 1.608 MB / 0.5197 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.3186, allocations: 11.42 kB / 0.5197 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.179e-05/0.3186, allocations: 14.05 kB / 0.5198 GB, free: 13.64 MB / 398.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.3188, allocations: 171.9 kB / 0.5199 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.748e-05/0.3188, allocations: 27.64 kB / 0.5199 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004327/0.3193, allocations: 247.8 kB / 0.5202 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3193, allocations: 1.906 kB / 0.5202 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3193, allocations: 4.453 kB / 0.5202 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.3194, allocations: 103.8 kB / 0.5203 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.972e-05/0.3194, allocations: 7.453 kB / 0.5203 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3196, allocations: 3.625 kB / 0.5203 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.3196, allocations: 14.75 kB / 0.5203 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005225/0.3201, allocations: 380.6 kB / 0.5207 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000484/0.3206, allocations: 0.5178 MB / 0.5212 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001197/0.3208, allocations: 75.31 kB / 0.5213 GB, free: 12.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002101/0.321, allocations: 216.6 kB / 0.5215 GB, free: 12.5 MB / 398.1 MB Notification: Performance of Backend: time 6.31e-07/0.321, allocations: 1.156 kB / 0.5215 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008311/0.3218, allocations: 323.1 kB / 0.5218 GB, free: 12.28 MB / 398.1 MB Notification: Performance of SimCode: time 0.001416/0.3233, allocations: 1.196 MB / 0.5229 GB, free: 11.35 MB / 398.1 MB Notification: Performance of Templates: time 0.007233/0.3305, allocations: 3.105 MB / 0.526 GB, free: 11.11 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)