Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 104.8 kB / 17.74 MB, free: 5.316 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.001365/0.001365, allocations: 194.9 kB / 18.67 MB, free: 4.395 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.334/1.334, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1825/0.1825, allocations: 38.04 MB / 330.6 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 71.83 kB / 458.8 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2825, allocations: 58.05 MB / 0.5048 GB, free: 7.742 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.003921/0.2864, allocations: 3.434 MB / 0.5081 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001676/0.2881, allocations: 1.439 MB / 0.5095 GB, free: 4.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2883, allocations: 9.438 kB / 0.5095 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007304/0.289, allocations: 244.9 kB / 0.5098 GB, free: 4.203 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.2895, allocations: 292.3 kB / 0.51 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.2898, allocations: 113.2 kB / 0.5101 GB, free: 3.988 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003517/0.2902, allocations: 343.3 kB / 0.5105 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.2905, allocations: 138.1 kB / 0.5106 GB, free: 3.797 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.2907, allocations: 154 kB / 0.5107 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.2909, allocations: 151.5 kB / 0.5109 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.2909, allocations: 14.59 kB / 0.5109 GB, free: 3.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000462/0.2914, allocations: 305 kB / 0.5112 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.2915, allocations: 98.41 kB / 0.5113 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.2916, allocations: 112.2 kB / 0.5114 GB, free: 3.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.2921, allocations: 342.8 kB / 0.5117 GB, free: 3.332 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2921, allocations: 0 / 0.5117 GB, free: 3.332 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2921, allocations: 0 / 0.5117 GB, free: 3.332 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.2921, allocations: 7.938 kB / 0.5117 GB, free: 3.324 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.0005663/0.2927, allocations: 0.5035 MB / 0.5122 GB, free: 2.867 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2927, allocations: 13.08 kB / 0.5122 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008717/0.2936, allocations: 95.33 kB / 0.5123 GB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.2939, allocations: 266.2 kB / 0.5126 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.294, allocations: 19.44 kB / 0.5126 GB, free: 2.598 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.294, allocations: 23.31 kB / 0.5126 GB, free: 2.586 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004828/0.2945, allocations: 312.5 kB / 0.5129 GB, free: 2.418 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.2945, allocations: 5.062 kB / 0.5129 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.2946, allocations: 6.188 kB / 0.5129 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/0.2946, allocations: 14.47 kB / 0.5129 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.295, allocations: 296.4 kB / 0.5132 GB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.2965, allocations: 1.29 MB / 0.5145 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000543/0.297, allocations: 205 kB / 0.5147 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.412e-05/0.2971, allocations: 60.03 kB / 0.5147 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.2972, allocations: 7.375 kB / 0.5147 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.2972, allocations: 36.64 kB / 0.5148 GB, free: 1.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.2972, allocations: 1.219 kB / 0.5148 GB, free: 1.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008838/0.2981, allocations: 426.7 kB / 0.5152 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.202e-05/0.2981, allocations: 83.23 kB / 0.5153 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.2983, allocations: 198.8 kB / 0.5155 GB, free: 0.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.2983, allocations: 26.31 kB / 0.5155 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.833e-05/0.2984, allocations: 158.4 kB / 0.5156 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.2984, allocations: 45.98 kB / 0.5157 GB, free: 472 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.2985, allocations: 48.38 kB / 0.5157 GB, free: 436 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.604e-05/0.2985, allocations: 325.7 kB / 0.516 GB, free: 112 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-05/0.2986, allocations: 60.59 kB / 0.5161 GB, free: 88 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001467/0.2988, allocations: 142.6 kB / 0.5162 GB, free: 15.95 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.2991, allocations: 235.5 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2991, allocations: 1.5 kB / 0.5165 GB, free: 15.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004582/0.2996, allocations: 264.4 kB / 0.5167 GB, free: 15.63 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.2996, allocations: 11.03 kB / 0.5167 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2996, allocations: 3.438 kB / 0.5167 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/0.2998, allocations: 42.69 kB / 0.5168 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001479/0.3, allocations: 41.67 kB / 0.5168 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.3011, allocations: 1.445 MB / 0.5182 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/0.3013, allocations: 12.25 kB / 0.5182 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.3013, allocations: 9.891 kB / 0.5182 GB, free: 14.16 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 (24): * Single equations (assignments): 23 * 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.0001517/0.3015, allocations: 160.2 kB / 0.5184 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.821e-05/0.3015, allocations: 20.66 kB / 0.5184 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004531/0.302, allocations: 191.8 kB / 0.5186 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.302, allocations: 6.234 kB / 0.5186 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.302, allocations: 0.5625 kB / 0.5186 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.408e-05/0.3021, allocations: 95.23 kB / 0.5187 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.3021, allocations: 2.25 kB / 0.5187 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3023, allocations: 2.719 kB / 0.5187 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.3023, allocations: 17.19 kB / 0.5187 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004467/0.3028, allocations: 334.6 kB / 0.519 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003927/0.3032, allocations: 441.5 kB / 0.5194 GB, free: 13.23 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001021/0.3033, allocations: 52.09 kB / 0.5195 GB, free: 13.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.3034, allocations: 146.9 kB / 0.5196 GB, free: 13.11 MB / 398.1 MB Notification: Performance of Backend: time 4.41e-07/0.3034, allocations: 0 / 0.5196 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.3047, allocations: 454.2 kB / 0.5201 GB, free: 12.87 MB / 398.1 MB Notification: Performance of SimCode: time 0.0009234/0.3056, allocations: 0.8687 MB / 0.5209 GB, free: 12.15 MB / 398.1 MB Notification: Performance of Templates: time 0.006907/0.3125, allocations: 3.014 MB / 0.5239 GB, free: 11.82 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)