Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.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.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 113 kB / 17.05 MB, free: 6.086 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.001943/0.001943, allocations: 188 kB / 17.99 MB, free: 5.184 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.404/1.404, allocations: 222.9 MB / 241.7 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.2311/0.2311, allocations: 38.05 MB / 329.9 MB, free: 8.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 55.91 kB / 458.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3621, allocations: 58.06 MB / 0.5041 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.005376/0.3675, allocations: 4.56 MB / 0.5085 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001976/0.3695, allocations: 1.31 MB / 0.5098 GB, free: 3.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002312/0.3698, allocations: 12.84 kB / 0.5098 GB, free: 3.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.371, allocations: 405.4 kB / 0.5102 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006702/0.3717, allocations: 256.6 kB / 0.5105 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000541/0.3722, allocations: 159 kB / 0.5106 GB, free: 3.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006947/0.3729, allocations: 0.5649 MB / 0.5112 GB, free: 3.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000487/0.3734, allocations: 284.9 kB / 0.5114 GB, free: 2.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.3738, allocations: 253.6 kB / 0.5117 GB, free: 2.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.3743, allocations: 280.1 kB / 0.512 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.278e-05/0.3743, allocations: 29.72 kB / 0.512 GB, free: 2.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002747/0.3746, allocations: 135.6 kB / 0.5121 GB, free: 2.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.3748, allocations: 188.8 kB / 0.5123 GB, free: 2.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.375, allocations: 218 kB / 0.5125 GB, free: 2.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006233/0.3757, allocations: 0.5172 MB / 0.513 GB, free: 2.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3757, allocations: 0.75 kB / 0.513 GB, free: 2.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.3757, allocations: 1.156 kB / 0.513 GB, free: 2.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.375e-05/0.3757, allocations: 0 / 0.513 GB, free: 2.266 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001001/0.3767, allocations: 0.7121 MB / 0.5137 GB, free: 1.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3768, allocations: 9.562 kB / 0.5137 GB, free: 1.695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/0.3774, allocations: 88.27 kB / 0.5138 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006147/0.378, allocations: 414.9 kB / 0.5142 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.378, allocations: 26.38 kB / 0.5142 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.3782, allocations: 50.58 kB / 0.5143 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006829/0.3789, allocations: 483 kB / 0.5147 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.3789, allocations: 1.875 kB / 0.5147 GB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.41e-05/0.3789, allocations: 10.72 kB / 0.5147 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.379, allocations: 28.56 kB / 0.5148 GB, free: 1.094 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005371/0.3796, allocations: 350.2 kB / 0.5151 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.3817, allocations: 1.727 MB / 0.5168 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.3821, allocations: 156.2 kB / 0.5169 GB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.3823, allocations: 109.3 kB / 0.517 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.3823, allocations: 5.812 kB / 0.517 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.3824, allocations: 41.08 kB / 0.5171 GB, free: 15.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.3824, allocations: 0 / 0.5171 GB, free: 15.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001735/0.3841, allocations: 0.9021 MB / 0.518 GB, free: 14.92 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.3842, allocations: 82.89 kB / 0.518 GB, free: 14.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003461/0.3845, allocations: 311 kB / 0.5183 GB, free: 14.65 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.3846, allocations: 27.33 kB / 0.5184 GB, free: 14.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.3847, allocations: 261.7 kB / 0.5186 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.588e-05/0.3848, allocations: 66.97 kB / 0.5187 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3849, allocations: 61.81 kB / 0.5187 GB, free: 14.31 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3851, allocations: 343.6 kB / 0.5191 GB, free: 13.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.3852, allocations: 98.58 kB / 0.5192 GB, free: 13.95 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.3855, allocations: 202.9 kB / 0.5194 GB, free: 13.79 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00043/0.3859, allocations: 322.7 kB / 0.5197 GB, free: 13.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3859, allocations: 5.891 kB / 0.5197 GB, free: 13.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009239/0.3868, allocations: 485 kB / 0.5201 GB, free: 13.36 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.3869, allocations: 6.969 kB / 0.5201 GB, free: 13.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006134/0.3875, allocations: 312.3 kB / 0.5204 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004937/0.388, allocations: 142.1 kB / 0.5206 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001974/0.3882, allocations: 51.61 kB / 0.5206 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002884/0.3911, allocations: 2.426 MB / 0.523 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.3914, allocations: 17.39 kB / 0.523 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.536e-05/0.3914, allocations: 13.62 kB / 0.523 GB, free: 11.33 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 (29): * Single equations (assignments): 28 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.3917, allocations: 201.4 kB / 0.5232 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.3917, allocations: 32.95 kB / 0.5232 GB, free: 11.15 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004709/0.3922, allocations: 275.8 kB / 0.5235 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3922, allocations: 6.281 kB / 0.5235 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3922, allocations: 1.062 kB / 0.5235 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.3923, allocations: 1.312 kB / 0.5235 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.3934, allocations: 0.7388 MB / 0.5242 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.3935, allocations: 1.469 kB / 0.5242 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002115/0.3937, allocations: 36.39 kB / 0.5243 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001137/0.3938, allocations: 36.7 kB / 0.5243 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3938, allocations: 8.328 kB / 0.5243 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3938, allocations: 2.75 kB / 0.5243 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.3938, allocations: 5.188 kB / 0.5243 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.3944, allocations: 447.5 kB / 0.5247 GB, free: 10.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.102e-05/0.3945, allocations: 103.9 kB / 0.5248 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.284e-05/0.3946, allocations: 8.156 kB / 0.5249 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001482/0.3947, allocations: 10.84 kB / 0.5249 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.3948, allocations: 21.69 kB / 0.5249 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.3948, allocations: 4.125 kB / 0.5249 GB, free: 10.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002319/0.395, allocations: 224.4 kB / 0.5251 GB, free: 9.973 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.6e-07/0.395, allocations: 0 / 0.5251 GB, free: 9.973 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005489/0.3956, allocations: 85.94 kB / 0.5252 GB, free: 9.965 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001869/0.3958, allocations: 96.58 kB / 0.5253 GB, free: 9.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.3966, allocations: 413.2 kB / 0.5257 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.3966, allocations: 1.5 kB / 0.5257 GB, free: 9.664 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.3969, allocations: 182.9 kB / 0.5258 GB, free: 9.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005164/0.3974, allocations: 66.77 kB / 0.5259 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/0.399, allocations: 0.872 MB / 0.5268 GB, free: 8.953 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.3995, allocations: 0.8411 MB / 0.5276 GB, free: 8.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002078/0.3998, allocations: 58.62 kB / 0.5276 GB, free: 8.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.3998, allocations: 28.47 kB / 0.5277 GB, free: 8.223 MB / 398.1 MB Notification: Performance of SimCode: time 1.81e-07/0.3998, allocations: 0 / 0.5277 GB, free: 8.223 MB / 398.1 MB Notification: Performance of Templates: time 0.00841/0.4083, allocations: 3.865 MB / 0.5314 GB, free: 7.082 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.PQsource.pipe 2>&1)