Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.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.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 173 kB / 8.042 MB, free: 1.043 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.449/1.449, allocations: 221.5 MB / 230 MB, free: 7.57 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.0008715/0.0008714, allocations: 89.8 kB / 280.9 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05705/0.05705, allocations: 8.095 MB / 339.8 MB, free: 7.008 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.491e-05/1.493e-05, allocations: 5.938 kB / 398.5 MB, free: 49.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 52.52 MB / 451 MB, free: 5.363 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.108/0.2133, allocations: 78.54 MB / 0.5171 GB, free: 6.715 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/0.2135, allocations: 63.97 kB / 0.5172 GB, free: 6.652 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01531/0.2288, allocations: 5.728 MB / 0.5228 GB, free: 0.8594 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2289, allocations: 4 kB / 0.5228 GB, free: 0.8555 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.2289, allocations: 4 kB / 0.5228 GB, free: 0.8516 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001056/0.23, allocations: 0.4981 MB / 0.5233 GB, free: 312 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.23, allocations: 15.98 kB / 0.5233 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.728e-05/0.2301, allocations: 19.77 kB / 0.5233 GB, free: 276 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002907/0.2304, allocations: 217.8 kB / 0.5235 GB, free: 16 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.2304, allocations: 11.98 kB / 0.5235 GB, free: 4 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2489/0.4794, allocations: 5.641 kB / 0.5235 GB, free: 78.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005072/0.48, allocations: 149.2 kB / 0.5237 GB, free: 78.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.4804, allocations: 151.7 kB / 0.5238 GB, free: 78.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.4804, allocations: 1.594 kB / 0.5238 GB, free: 78.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.4805, allocations: 0 / 0.5238 GB, free: 78.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4805, allocations: 5.656 kB / 0.5238 GB, free: 78.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.4822, allocations: 0.7051 MB / 0.5245 GB, free: 78.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007029/0.4829, allocations: 186.5 kB / 0.5247 GB, free: 78.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.4831, allocations: 84.7 kB / 0.5248 GB, free: 78.28 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001631/0.4833, allocations: 91.36 kB / 0.5248 GB, free: 78.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.4833, allocations: 34.53 kB / 0.5249 GB, free: 78.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 3.106e-06/0.4834, allocations: 0 / 0.5249 GB, free: 78.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001394/0.4848, allocations: 315.5 kB / 0.5252 GB, free: 78.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.4848, allocations: 57.62 kB / 0.5252 GB, free: 78.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.485, allocations: 154.2 kB / 0.5254 GB, free: 77.94 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.485, allocations: 27.48 kB / 0.5254 GB, free: 77.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.118e-05/0.4851, allocations: 119.3 kB / 0.5255 GB, free: 77.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.497e-05/0.4852, allocations: 44.55 kB / 0.5256 GB, free: 77.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.502e-05/0.4852, allocations: 0 / 0.5256 GB, free: 77.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.073e-05/0.4853, allocations: 325.7 kB / 0.5259 GB, free: 77.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.4854, allocations: 81.84 kB / 0.526 GB, free: 77.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.4856, allocations: 73.73 kB / 0.526 GB, free: 77.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003682/0.4859, allocations: 95.44 kB / 0.5261 GB, free: 77.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.486, allocations: 1.188 kB / 0.5261 GB, free: 77.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001204/0.4872, allocations: 349.1 kB / 0.5265 GB, free: 77.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.4872, allocations: 5.688 kB / 0.5265 GB, free: 77.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.4872, allocations: 0 / 0.5265 GB, free: 77.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008638/0.4881, allocations: 139.6 kB / 0.5266 GB, free: 77.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.4883, allocations: 28.53 kB / 0.5266 GB, free: 77.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.4902, allocations: 1.812 MB / 0.5284 GB, free: 76.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.4904, allocations: 10.14 kB / 0.5284 GB, free: 76.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.4904, allocations: 2.625 kB / 0.5284 GB, free: 76.2 MB / 362.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 (14): * Single equations (assignments): 13 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 9.257e-05/0.4905, allocations: 107 kB / 0.5285 GB, free: 76.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.4906, allocations: 12.53 kB / 0.5285 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009691/0.4915, allocations: 354.8 kB / 0.5289 GB, free: 76.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.4915, allocations: 2.844 kB / 0.5289 GB, free: 76.03 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.4916, allocations: 5.891 kB / 0.5289 GB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.4916, allocations: 0 / 0.5289 GB, free: 76.02 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.4918, allocations: 272.2 kB / 0.5291 GB, free: 75.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.4918, allocations: 4.609 kB / 0.5291 GB, free: 75.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.507e-05/0.4919, allocations: 19.69 kB / 0.5291 GB, free: 75.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/0.4925, allocations: 134 kB / 0.5293 GB, free: 75.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4925, allocations: 6.094 kB / 0.5293 GB, free: 75.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0018/0.4943, allocations: 1.808 MB / 0.531 GB, free: 74.65 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4943, allocations: 0 / 0.531 GB, free: 74.65 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008491/0.4952, allocations: 426.2 kB / 0.5314 GB, free: 74.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.4953, allocations: 90.7 kB / 0.5315 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.4953, allocations: 3.938 kB / 0.5315 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.4955, allocations: 8.641 kB / 0.5315 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.4955, allocations: 22.22 kB / 0.5316 GB, free: 74.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.605e-05/0.4955, allocations: 4.75 kB / 0.5316 GB, free: 74.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.91e-05/0.4956, allocations: 129.8 kB / 0.5317 GB, free: 74.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4956, allocations: 1.594 kB / 0.5317 GB, free: 74.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.496, allocations: 57.05 kB / 0.5318 GB, free: 74.3 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 (12): * Single equations (assignments): 11 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001909/0.4962, allocations: 110.2 kB / 0.5319 GB, free: 74.21 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006623/0.4969, allocations: 338.8 kB / 0.5322 GB, free: 74.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4969, allocations: 0 / 0.5322 GB, free: 74.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.4973, allocations: 244.3 kB / 0.5324 GB, free: 73.99 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.4976, allocations: 10.88 kB / 0.5324 GB, free: 73.99 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003942/0.498, allocations: 193.4 kB / 0.5326 GB, free: 73.9 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001803/0.4982, allocations: 0.7285 MB / 0.5333 GB, free: 73.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.128e-05/0.4983, allocations: 18.44 kB / 0.5333 GB, free: 73.19 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.032e-05/0.4983, allocations: 20 kB / 0.5334 GB, free: 73.18 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4983, allocations: 1.859 kB / 0.5334 GB, free: 73.18 MB / 362.7 MB Notification: Performance of Templates: time 0.007253/0.5056, allocations: 3.294 MB / 0.5366 GB, free: 73.01 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoad.pipe 2>&1)