Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 106.9 kB / 17.74 MB, free: 5.363 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.001363/0.001363, allocations: 180.5 kB / 18.66 MB, free: 4.449 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.329/1.329, 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.1773/0.1773, allocations: 38.03 MB / 330.6 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.89 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2991, allocations: 58.05 MB / 0.5048 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.002795/0.3019, allocations: 2.156 MB / 0.5069 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3032, allocations: 1.067 MB / 0.5079 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.775e-05/0.3033, allocations: 0.8438 kB / 0.5079 GB, free: 5.523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.3034, allocations: 12.67 kB / 0.5079 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.3035, allocations: 57.64 kB / 0.508 GB, free: 5.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000776/0.3043, allocations: 282.5 kB / 0.5082 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.3045, allocations: 118.2 kB / 0.5084 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.982e-05/0.3045, allocations: 4.219 kB / 0.5084 GB, free: 5.352 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.005e-05/0.3046, allocations: 55.06 kB / 0.5084 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.589e-05/0.3047, allocations: 63.12 kB / 0.5085 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.3047, allocations: 2.25 kB / 0.5085 GB, free: 5.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005839/0.3053, allocations: 423.9 kB / 0.5089 GB, free: 5.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.3054, allocations: 33.22 kB / 0.5089 GB, free: 5.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.3054, allocations: 41.34 kB / 0.509 GB, free: 5.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006163/0.3061, allocations: 0.5162 MB / 0.5095 GB, free: 5.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3061, allocations: 0 / 0.5095 GB, free: 5.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3061, allocations: 0 / 0.5095 GB, free: 5.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.839e-06/0.3061, allocations: 0 / 0.5095 GB, free: 5.047 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003671/0.3065, allocations: 463.6 kB / 0.5099 GB, free: 4.602 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.3065, allocations: 13.11 kB / 0.5099 GB, free: 4.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.3065, allocations: 14.17 kB / 0.5099 GB, free: 4.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3067, allocations: 194.2 kB / 0.5101 GB, free: 4.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.3067, allocations: 5.562 kB / 0.5101 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.3067, allocations: 6.344 kB / 0.5101 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.3069, allocations: 98.58 kB / 0.5102 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.3069, allocations: 0 / 0.5102 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.3069, allocations: 1.312 kB / 0.5102 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3069, allocations: 1.094 kB / 0.5102 GB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.307, allocations: 62 kB / 0.5103 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000112/0.3071, allocations: 180.3 kB / 0.5104 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.3072, allocations: 137.5 kB / 0.5106 GB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.541e-05/0.3073, allocations: 127.2 kB / 0.5107 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.835e-06/0.3073, allocations: 0 / 0.5107 GB, free: 3.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.3074, allocations: 32.44 kB / 0.5107 GB, free: 3.906 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 8.62e-07/0.3074, allocations: 3.938 kB / 0.5107 GB, free: 3.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.000401/0.3078, allocations: 286.8 kB / 0.511 GB, free: 3.797 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.3078, allocations: 95.81 kB / 0.5111 GB, free: 3.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.726e-05/0.3079, allocations: 136.7 kB / 0.5112 GB, free: 3.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.3079, allocations: 27.7 kB / 0.5113 GB, free: 3.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.562e-05/0.308, allocations: 96.58 kB / 0.5114 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.308, allocations: 61.16 kB / 0.5114 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.1e-05/0.308, allocations: 27.42 kB / 0.5114 GB, free: 3.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.3081, allocations: 321.6 kB / 0.5117 GB, free: 3.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.494e-05/0.3082, allocations: 57.45 kB / 0.5118 GB, free: 3.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.851e-05/0.3083, allocations: 64.41 kB / 0.5119 GB, free: 3.055 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.3085, allocations: 230.1 kB / 0.5121 GB, free: 2.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3085, allocations: 0 / 0.5121 GB, free: 2.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002247/0.3087, allocations: 220.9 kB / 0.5123 GB, free: 2.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.706e-05/0.3088, allocations: 56.58 kB / 0.5123 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3088, allocations: 1.953 kB / 0.5123 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3088, allocations: 0 / 0.5123 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.3088, allocations: 0 / 0.5123 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.3088, allocations: 5.594 kB / 0.5123 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.394e-05/0.3089, allocations: 12.47 kB / 0.5124 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.3089, allocations: 11.08 kB / 0.5124 GB, free: 2.801 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 0.0001045/0.309, allocations: 184.5 kB / 0.5125 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.136e-05/0.309, allocations: 12.91 kB / 0.5126 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.444e-05/0.309, allocations: 8.531 kB / 0.5126 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.309, allocations: 1.688 kB / 0.5126 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.309, allocations: 0 / 0.5126 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3091, allocations: 0.6094 kB / 0.5126 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.24e-05/0.3092, allocations: 197.5 kB / 0.5128 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3092, allocations: 1.281 kB / 0.5128 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.3092, allocations: 0.6562 kB / 0.5128 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3092, allocations: 1.828 kB / 0.5128 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.3092, allocations: 10.12 kB / 0.5128 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.3092, allocations: 0 / 0.5128 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3092, allocations: 1.828 kB / 0.5128 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.3096, allocations: 383.9 kB / 0.5131 GB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.3096, allocations: 93.14 kB / 0.5132 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.3097, allocations: 9.844 kB / 0.5132 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.052e-05/0.3097, allocations: 7.156 kB / 0.5132 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.706e-05/0.3097, allocations: 2.891 kB / 0.5132 GB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.3098, allocations: 19.48 kB / 0.5133 GB, free: 2.129 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.3098, allocations: 106 kB / 0.5134 GB, free: 2.047 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3098, allocations: 0 / 0.5134 GB, free: 2.047 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004694/0.3103, allocations: 130.6 kB / 0.5135 GB, free: 2.035 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.0003652/0.3107, allocations: 185 kB / 0.5137 GB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000495/0.3112, allocations: 0.5648 MB / 0.5142 GB, free: 1.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3112, allocations: 4.062 kB / 0.5142 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003072/0.3115, allocations: 467.8 kB / 0.5147 GB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.3117, allocations: 18.33 kB / 0.5147 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005608/0.3123, allocations: 431.5 kB / 0.5151 GB, free: 1.074 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.3124, allocations: 0.7221 MB / 0.5158 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.3124, allocations: 9.312 kB / 0.5158 GB, free: 372 kB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3124, allocations: 0 / 0.5158 GB, free: 372 kB / 382.1 MB Notification: Performance of Templates: time 0.007954/0.3204, allocations: 3.098 MB / 0.5188 GB, free: 132 kB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.pipe 2>&1)