Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 179.6 kB / 8.042 MB, free: 1.012 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 221.5 MB / 230 MB, free: 3.148 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008779/0.0008776, allocations: 95.73 kB / 280.9 MB, free: 1.172 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07265/0.07265, allocations: 8.095 MB / 339.8 MB, free: 6.246 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.628e-05/1.632e-05, allocations: 4 kB / 398.5 MB, free: 67.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1045, allocations: 52.52 MB / 451 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.4598, allocations: 78.89 MB / 0.5175 GB, free: 15.12 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.46, allocations: 63.41 kB / 0.5175 GB, free: 15.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01908/0.4791, allocations: 7.62 MB / 0.525 GB, free: 9.168 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4792, allocations: 0 / 0.525 GB, free: 9.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.745e-05/0.4792, allocations: 4 kB / 0.525 GB, free: 9.164 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001459/0.4806, allocations: 0.5915 MB / 0.5255 GB, free: 8.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.4807, allocations: 15.98 kB / 0.5256 GB, free: 8.547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.349e-05/0.4808, allocations: 31.61 kB / 0.5256 GB, free: 8.516 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.4812, allocations: 260.3 kB / 0.5258 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.4812, allocations: 4 kB / 0.5258 GB, free: 8.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.4812, allocations: 8.75 kB / 0.5258 GB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003569/0.4816, allocations: 234.8 kB / 0.5261 GB, free: 8.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000387/0.482, allocations: 228.9 kB / 0.5263 GB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.482, allocations: 0 / 0.5263 GB, free: 7.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.903e-05/0.482, allocations: 8.391 kB / 0.5263 GB, free: 7.953 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.4821, allocations: 4 kB / 0.5263 GB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.4838, allocations: 1.173 MB / 0.5274 GB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.4844, allocations: 300.7 kB / 0.5277 GB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001986/0.4846, allocations: 144.3 kB / 0.5279 GB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001713/0.4848, allocations: 89.03 kB / 0.528 GB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.4848, allocations: 37.81 kB / 0.528 GB, free: 6.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/0.4849, allocations: 0 / 0.528 GB, free: 6.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001634/0.4865, allocations: 0.5358 MB / 0.5285 GB, free: 6.105 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.4865, allocations: 51.41 kB / 0.5286 GB, free: 6.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002013/0.4868, allocations: 189.7 kB / 0.5287 GB, free: 5.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.468e-05/0.4868, allocations: 25.7 kB / 0.5288 GB, free: 5.852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.4869, allocations: 131.4 kB / 0.5289 GB, free: 5.738 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.987e-05/0.487, allocations: 80.89 kB / 0.529 GB, free: 5.668 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.487, allocations: 0 / 0.529 GB, free: 5.668 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.4871, allocations: 335.1 kB / 0.5293 GB, free: 5.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001621/0.4873, allocations: 128.7 kB / 0.5294 GB, free: 5.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001553/0.4875, allocations: 127.9 kB / 0.5295 GB, free: 5.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003565/0.4878, allocations: 151.4 kB / 0.5297 GB, free: 5.121 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4879, allocations: 0 / 0.5297 GB, free: 5.121 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001519/0.4894, allocations: 0.5871 MB / 0.5303 GB, free: 4.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.4894, allocations: 7.984 kB / 0.5303 GB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4894, allocations: 0 / 0.5303 GB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001353/0.4908, allocations: 289.8 kB / 0.5305 GB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.4909, allocations: 34.47 kB / 0.5306 GB, free: 4.418 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003169/0.4941, allocations: 2.417 MB / 0.5329 GB, free: 2.523 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002201/0.4944, allocations: 23.92 kB / 0.533 GB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.4944, allocations: 9.688 kB / 0.533 GB, free: 2.492 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.4945, allocations: 109.4 kB / 0.5331 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.4946, allocations: 23.72 kB / 0.5331 GB, free: 2.355 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.4963, allocations: 0.6145 MB / 0.5337 GB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.4964, allocations: 0 / 0.5337 GB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.4964, allocations: 0 / 0.5337 GB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4964, allocations: 4 kB / 0.5337 GB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.4968, allocations: 378.2 kB / 0.5341 GB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4968, allocations: 0 / 0.5341 GB, free: 1.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001115/0.497, allocations: 34.34 kB / 0.5341 GB, free: 1.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001238/0.4982, allocations: 286.8 kB / 0.5344 GB, free: 1.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.4982, allocations: 7.125 kB / 0.5344 GB, free: 1.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003079/0.5013, allocations: 2.424 MB / 0.5367 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.5013, allocations: 4.438 kB / 0.5367 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.5031, allocations: 0.6523 MB / 0.5374 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.5032, allocations: 112.3 kB / 0.5375 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.5032, allocations: 0 / 0.5375 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.5035, allocations: 15.92 kB / 0.5375 GB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.5036, allocations: 23.91 kB / 0.5375 GB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.541e-05/0.5036, allocations: 7.5 kB / 0.5375 GB, free: 14.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.5038, allocations: 151.1 kB / 0.5377 GB, free: 14.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5038, allocations: 0 / 0.5377 GB, free: 14.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005234/0.5043, allocations: 83.98 kB / 0.5378 GB, free: 14.53 MB / 362.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002788/0.5046, allocations: 103.5 kB / 0.5379 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001041/0.5056, allocations: 486.5 kB / 0.5383 GB, free: 14.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.5057, allocations: 4 kB / 0.5383 GB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006242/0.5063, allocations: 333.1 kB / 0.5386 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.5066, allocations: 13.06 kB / 0.5387 GB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.5072, allocations: 290.9 kB / 0.5389 GB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.5077, allocations: 0.7527 MB / 0.5397 GB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001638/0.5079, allocations: 26.06 kB / 0.5397 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.5079, allocations: 26.05 kB / 0.5397 GB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.5079, allocations: 3.938 kB / 0.5397 GB, free: 12.74 MB / 362.7 MB Notification: Performance of Templates: time 0.01061/0.5186, allocations: 5.412 MB / 0.545 GB, free: 7.375 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoLinesOneLoad.pipe 2>&1)