Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 113.7 kB / 17.74 MB, free: 5.312 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.001539/0.001539, allocations: 189.6 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.337/1.337, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1753/0.1753, allocations: 38.03 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 71.89 kB / 458.8 MB, free: 6.812 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.293, allocations: 58.05 MB / 0.5048 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.002906/0.2959, allocations: 2.149 MB / 0.5069 GB, free: 6.336 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00253/0.2985, allocations: 2.05 MB / 0.5089 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.685e-05/0.2985, allocations: 1.156 kB / 0.5089 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001381/0.2987, allocations: 13.88 kB / 0.5089 GB, free: 4.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.2988, allocations: 42.25 kB / 0.5089 GB, free: 4.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.3008, allocations: 0.8245 MB / 0.5097 GB, free: 4.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.301, allocations: 98.84 kB / 0.5098 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.301, allocations: 11.62 kB / 0.5098 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.718e-05/0.3011, allocations: 37.09 kB / 0.5099 GB, free: 4.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.931e-05/0.3012, allocations: 51.84 kB / 0.5099 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.279e-05/0.3012, allocations: 2.656 kB / 0.5099 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.3031, allocations: 1.381 MB / 0.5113 GB, free: 4.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.331e-05/0.3032, allocations: 35.75 kB / 0.5113 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.603e-05/0.3032, allocations: 44.92 kB / 0.5113 GB, free: 4.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.3051, allocations: 1.319 MB / 0.5126 GB, free: 3.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3051, allocations: 0 / 0.5126 GB, free: 3.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3051, allocations: 0 / 0.5126 GB, free: 3.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3051, allocations: 1.188 kB / 0.5126 GB, free: 3.883 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000592/0.3057, allocations: 0.5323 MB / 0.5131 GB, free: 3.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.3058, allocations: 17.05 kB / 0.5132 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.3058, allocations: 18.31 kB / 0.5132 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3059, allocations: 198.7 kB / 0.5134 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.306, allocations: 9.219 kB / 0.5134 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.306, allocations: 1.156 kB / 0.5134 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.3061, allocations: 72.36 kB / 0.5135 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.3061, allocations: 3.938 kB / 0.5135 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.3062, allocations: 1.188 kB / 0.5135 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3062, allocations: 3.938 kB / 0.5135 GB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.01e-05/0.3062, allocations: 46.36 kB / 0.5135 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.3064, allocations: 180.2 kB / 0.5137 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.3065, allocations: 85.25 kB / 0.5138 GB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.912e-05/0.3065, allocations: 58.55 kB / 0.5138 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-06/0.3066, allocations: 0.7969 kB / 0.5138 GB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.3066, allocations: 31.84 kB / 0.5138 GB, free: 2.773 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 9.22e-07/0.3066, allocations: 0 / 0.5138 GB, free: 2.773 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0003183/0.3069, allocations: 225.3 kB / 0.5141 GB, free: 2.68 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.307, allocations: 86.97 kB / 0.5141 GB, free: 2.586 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.3071, allocations: 155.9 kB / 0.5143 GB, free: 2.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.447e-06/0.3071, allocations: 25.7 kB / 0.5143 GB, free: 2.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.837e-05/0.3071, allocations: 99 kB / 0.5144 GB, free: 2.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.3072, allocations: 41.69 kB / 0.5144 GB, free: 2.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.3072, allocations: 24.25 kB / 0.5145 GB, free: 2.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.075e-05/0.3073, allocations: 322.9 kB / 0.5148 GB, free: 1.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.3073, allocations: 37.42 kB / 0.5148 GB, free: 1.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.267e-05/0.3074, allocations: 42.5 kB / 0.5149 GB, free: 1.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.3075, allocations: 179.1 kB / 0.515 GB, free: 1.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3075, allocations: 3.938 kB / 0.515 GB, free: 1.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001889/0.3077, allocations: 177.3 kB / 0.5152 GB, free: 1.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.3078, allocations: 49.77 kB / 0.5152 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3078, allocations: 2.344 kB / 0.5152 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.3078, allocations: 0 / 0.5152 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.523e-06/0.3078, allocations: 4 kB / 0.5153 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3078, allocations: 0.7969 kB / 0.5153 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.319e-05/0.3079, allocations: 12.56 kB / 0.5153 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.3079, allocations: 3.875 kB / 0.5153 GB, free: 1.738 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.306e-05/0.308, allocations: 175.3 kB / 0.5154 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.308, allocations: 15.38 kB / 0.5155 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.684e-05/0.3081, allocations: 10.53 kB / 0.5155 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3081, allocations: 1.125 kB / 0.5155 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3081, allocations: 0 / 0.5155 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.023e-06/0.3081, allocations: 0 / 0.5155 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.161e-05/0.3082, allocations: 195.2 kB / 0.5156 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.3082, allocations: 0 / 0.5156 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.52e-07/0.3082, allocations: 5.656 kB / 0.5157 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.3082, allocations: 0 / 0.5157 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3082, allocations: 8.734 kB / 0.5157 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3082, allocations: 1.125 kB / 0.5157 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3082, allocations: 0 / 0.5157 GB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.3086, allocations: 302.7 kB / 0.516 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.3086, allocations: 88.08 kB / 0.516 GB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.3086, allocations: 8.203 kB / 0.516 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.778e-05/0.3087, allocations: 1.406 kB / 0.516 GB, free: 1.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.3087, allocations: 7.484 kB / 0.5161 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3087, allocations: 4.844 kB / 0.5161 GB, free: 1.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.658e-05/0.3088, allocations: 116.7 kB / 0.5162 GB, free: 1.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3088, allocations: 0 / 0.5162 GB, free: 1.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001115/0.3099, allocations: 329.8 kB / 0.5165 GB, free: 0.9766 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0009319/0.3108, allocations: 365.6 kB / 0.5168 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003351/0.3112, allocations: 343.3 kB / 0.5172 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3112, allocations: 3.938 kB / 0.5172 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001708/0.3114, allocations: 254.7 kB / 0.5174 GB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002588/0.3116, allocations: 19.7 kB / 0.5174 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004905/0.3121, allocations: 380.2 kB / 0.5178 GB, free: 280 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.3124, allocations: 0.7207 MB / 0.5185 GB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.29e-05/0.3124, allocations: 9.531 kB / 0.5185 GB, free: 15.56 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3124, allocations: 0 / 0.5185 GB, free: 15.56 MB / 398.1 MB Notification: Performance of Templates: time 0.01033/0.3227, allocations: 6.132 MB / 0.5245 GB, free: 13.88 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.pipe 2>&1)