Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 177.9 kB / 8.044 MB, free: 1.016 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.477/1.477, allocations: 221.5 MB / 230 MB, free: 3.176 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.0008586/0.0008585, allocations: 93.14 kB / 280.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05534/0.05534, allocations: 8.1 MB / 339.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.41e-05, allocations: 4 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09465, allocations: 52.53 MB / 451 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/0.4825, allocations: 77.97 MB / 0.5166 GB, free: 15.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4828, allocations: 63.03 kB / 0.5166 GB, free: 15.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01333/0.4962, allocations: 3.353 MB / 0.5199 GB, free: 13.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4962, allocations: 0 / 0.5199 GB, free: 13.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.4962, allocations: 0 / 0.5199 GB, free: 13.27 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008727/0.4971, allocations: 403.3 kB / 0.5203 GB, free: 12.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.4972, allocations: 11.98 kB / 0.5203 GB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.195e-05/0.4973, allocations: 15.86 kB / 0.5203 GB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.4975, allocations: 179.3 kB / 0.5205 GB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.4976, allocations: 0 / 0.5205 GB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.761e-05/0.4976, allocations: 4 kB / 0.5205 GB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001923/0.4978, allocations: 65.97 kB / 0.5206 GB, free: 12.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.498, allocations: 81.73 kB / 0.5206 GB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.4981, allocations: 0 / 0.5206 GB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.4981, allocations: 11.94 kB / 0.5206 GB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.4981, allocations: 4 kB / 0.5206 GB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.499, allocations: 365.6 kB / 0.521 GB, free: 12.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004118/0.4994, allocations: 95.58 kB / 0.5211 GB, free: 12.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.351e-05/0.4995, allocations: 29.61 kB / 0.5211 GB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.4996, allocations: 85.09 kB / 0.5212 GB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/0.4997, allocations: 38.5 kB / 0.5212 GB, free: 11.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.033e-06/0.4997, allocations: 0 / 0.5212 GB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005293/0.5003, allocations: 99.88 kB / 0.5213 GB, free: 11.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.5003, allocations: 51.41 kB / 0.5214 GB, free: 11.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.5005, allocations: 130.5 kB / 0.5215 GB, free: 11.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.5006, allocations: 25.7 kB / 0.5215 GB, free: 11.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.755e-05/0.5007, allocations: 107.3 kB / 0.5216 GB, free: 11.49 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.5007, allocations: 23.58 kB / 0.5217 GB, free: 11.47 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.5007, allocations: 4 kB / 0.5217 GB, free: 11.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.5009, allocations: 314.7 kB / 0.522 GB, free: 11.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.501, allocations: 34.36 kB / 0.522 GB, free: 11.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.888e-05/0.501, allocations: 31.06 kB / 0.522 GB, free: 11.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.5013, allocations: 38.3 kB / 0.5221 GB, free: 11.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5013, allocations: 3.953 kB / 0.5221 GB, free: 11.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005103/0.5018, allocations: 142.5 kB / 0.5222 GB, free: 10.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5018, allocations: 4 kB / 0.5222 GB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.5018, allocations: 4 kB / 0.5222 GB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003402/0.5022, allocations: 32.7 kB / 0.5222 GB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.5023, allocations: 19.92 kB / 0.5223 GB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.5039, allocations: 1.282 MB / 0.5235 GB, free: 9.586 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.5041, allocations: 7.938 kB / 0.5235 GB, free: 9.578 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.5041, allocations: 0 / 0.5235 GB, free: 9.578 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 (9): * Single equations (assignments): 8 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.5042, allocations: 110.1 kB / 0.5236 GB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.5043, allocations: 12.02 kB / 0.5236 GB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.5047, allocations: 116.1 kB / 0.5237 GB, free: 9.355 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5048, allocations: 4 kB / 0.5237 GB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.5048, allocations: 0 / 0.5237 GB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5048, allocations: 0 / 0.5237 GB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.5051, allocations: 188.2 kB / 0.5239 GB, free: 9.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5051, allocations: 4.125 kB / 0.5239 GB, free: 9.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.105e-05/0.5052, allocations: 4 kB / 0.5239 GB, free: 9.141 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.5054, allocations: 40.02 kB / 0.524 GB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.5054, allocations: 0 / 0.524 GB, free: 9.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.5068, allocations: 1.277 MB / 0.5252 GB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.5068, allocations: 0 / 0.5252 GB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.5073, allocations: 205.2 kB / 0.5254 GB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.034e-05/0.5074, allocations: 81.02 kB / 0.5255 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.443e-05/0.5074, allocations: 0 / 0.5255 GB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.5076, allocations: 16.08 kB / 0.5255 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.3e-05/0.5077, allocations: 0 / 0.5255 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5077, allocations: 4 kB / 0.5255 GB, free: 7.469 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001233/0.5078, allocations: 110.5 kB / 0.5256 GB, free: 7.375 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5078, allocations: 0 / 0.5256 GB, free: 7.375 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004767/0.5083, allocations: 24 kB / 0.5256 GB, free: 7.352 MB / 346.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 (5): * Single equations (assignments): 4 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002222/0.5085, allocations: 112.8 kB / 0.5257 GB, free: 7.234 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005142/0.5091, allocations: 179 kB / 0.5259 GB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5091, allocations: 0 / 0.5259 GB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002535/0.5094, allocations: 139.9 kB / 0.526 GB, free: 6.945 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.5097, allocations: 15.89 kB / 0.5261 GB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.5101, allocations: 117.7 kB / 0.5262 GB, free: 6.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.5105, allocations: 0.7 MB / 0.5269 GB, free: 6.082 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.137e-05/0.5106, allocations: 8.656 kB / 0.5269 GB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.552e-05/0.5106, allocations: 15.44 kB / 0.5269 GB, free: 6.059 MB / 346.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5106, allocations: 0 / 0.5269 GB, free: 6.059 MB / 346.7 MB Notification: Performance of Templates: time 0.005668/0.5163, allocations: 1.239 MB / 0.5281 GB, free: 4.84 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)