Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.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.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 168.2 kB / 16.8 MB, free: 5.023 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 223.3 MB / 240.8 MB, free: 10.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 102.6 kB / 292 MB, free: 10.59 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05997/0.05997, allocations: 8.094 MB / 351.2 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004962/0.0004969, allocations: 12 kB / 414.4 MB, free: 57.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0901/0.09062, allocations: 52.51 MB / 466.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3049/0.3956, allocations: 81.49 MB / 0.5355 GB, free: 4.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3959, allocations: 73.78 kB / 0.5356 GB, free: 4.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08858/0.4845, allocations: 36.19 MB / 0.5709 GB, free: 2.277 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.4846, allocations: 0 / 0.5709 GB, free: 2.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.151e-05/0.4847, allocations: 16 kB / 0.571 GB, free: 2.262 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.007827/0.4925, allocations: 2.102 MB / 0.573 GB, free: 108 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4926, allocations: 12.02 kB / 0.573 GB, free: 96 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007622/0.4933, allocations: 143.4 kB / 0.5732 GB, free: 15.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.4953, allocations: 0.8509 MB / 0.574 GB, free: 15.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/0.4954, allocations: 66.38 kB / 0.5741 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.4957, allocations: 88.38 kB / 0.5741 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002998/0.4987, allocations: 1.522 MB / 0.5756 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.4987, allocations: 192 / 0.5756 GB, free: 13.37 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001752/0.4989, allocations: 47.92 kB / 0.5757 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.722e-05/0.499, allocations: 20 kB / 0.5757 GB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.5014, allocations: 1.472 MB / 0.5771 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009774/0.5112, allocations: 6.456 MB / 0.5834 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003734/0.515, allocations: 3.741 MB / 0.5871 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.5167, allocations: 1.094 MB / 0.5882 GB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002924/0.5171, allocations: 118.3 kB / 0.5883 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.439e-05/0.5172, allocations: 60.11 kB / 0.5883 GB, free: 15.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=151): time 4.569e-06/0.5172, allocations: 0 / 0.5883 GB, free: 15.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.02979/0.547, allocations: 7.693 MB / 0.5958 GB, free: 7.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.5471, allocations: 124.1 kB / 0.596 GB, free: 7.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.5484, allocations: 0.7076 MB / 0.5966 GB, free: 6.898 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002796/0.5487, allocations: 57.7 kB / 0.5967 GB, free: 6.836 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/0.549, allocations: 369.7 kB / 0.5971 GB, free: 6.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005688/0.5495, allocations: 0.5004 MB / 0.5975 GB, free: 5.961 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.5496, allocations: 20 kB / 0.5976 GB, free: 5.941 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.5498, allocations: 349.9 kB / 0.5979 GB, free: 5.594 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001284/0.5511, allocations: 0.8265 MB / 0.5987 GB, free: 4.766 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.5525, allocations: 0.9109 MB / 0.5996 GB, free: 3.848 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002772/0.5553, allocations: 1.823 MB / 0.6014 GB, free: 2.023 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.5553, allocations: 4.031 kB / 0.6014 GB, free: 2.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.009793/0.5651, allocations: 3.725 MB / 0.605 GB, free: 14.28 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.5652, allocations: 8 kB / 0.605 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.5652, allocations: 4 kB / 0.605 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/0.5755, allocations: 2.935 MB / 0.6079 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008682/0.5765, allocations: 151.8 kB / 0.608 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02451/0.601, allocations: 11.79 MB / 0.6196 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001534/0.6026, allocations: 95.11 kB / 0.6196 GB, free: 15.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003222/0.6029, allocations: 43.97 kB / 0.6197 GB, free: 15.14 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {20 48} Notification: Performance of prepare postOptimizeDAE: time 0.0009495/0.6039, allocations: 297.6 kB / 0.62 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004162/0.6043, allocations: 110.7 kB / 0.6201 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01075/0.6151, allocations: 4.086 MB / 0.6241 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.6152, allocations: 16 kB / 0.6241 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.6152, allocations: 0 / 0.6241 GB, free: 10.62 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.6152, allocations: 7.969 kB / 0.6241 GB, free: 10.61 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01429/0.6295, allocations: 6.352 MB / 0.6303 GB, free: 4.191 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6296, allocations: 7.875 kB / 0.6303 GB, free: 4.184 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.6302, allocations: 175.8 kB / 0.6305 GB, free: 4.012 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009526/0.6398, allocations: 2.389 MB / 0.6328 GB, free: 1.617 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.64, allocations: 31.98 kB / 0.6328 GB, free: 1.586 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02318/0.6632, allocations: 11.63 MB / 0.6442 GB, free: 5.809 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6632, allocations: 0 / 0.6442 GB, free: 5.809 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.6736, allocations: 3.948 MB / 0.648 GB, free: 1.836 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.674, allocations: 227.3 kB / 0.6483 GB, free: 1.594 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.6743, allocations: 28 kB / 0.6483 GB, free: 1.566 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.6755, allocations: 107.9 kB / 0.6484 GB, free: 1.461 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004741/0.676, allocations: 134.3 kB / 0.6485 GB, free: 1.332 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.6761, allocations: 47.98 kB / 0.6486 GB, free: 1.285 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008759/0.677, allocations: 0.5069 MB / 0.6491 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.677, allocations: 0 / 0.6491 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001898/0.6789, allocations: 0.5465 MB / 0.6496 GB, free: 236 kB / 458.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * 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 {20 48} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003485/0.6793, allocations: 152.3 kB / 0.6497 GB, free: 76 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1957/0.875, allocations: 2.896 MB / 0.6526 GB, free: 134.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.8751, allocations: 2.469 kB / 0.6526 GB, free: 134.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004775/0.8798, allocations: 1.979 MB / 0.6545 GB, free: 134 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/0.8812, allocations: 144.3 kB / 0.6546 GB, free: 134 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.8851, allocations: 2.572 MB / 0.6571 GB, free: 133 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007069/0.8859, allocations: 1.089 MB / 0.6582 GB, free: 132.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005969/0.8865, allocations: 143.1 kB / 0.6583 GB, free: 132.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.8867, allocations: 89.64 kB / 0.6584 GB, free: 132.3 MB / 458.7 MB Notification: Performance of SimCode: time 8.21e-07/0.8867, allocations: 0 / 0.6584 GB, free: 132.3 MB / 458.7 MB Notification: Performance of Templates: time 0.04765/0.9344, allocations: 38.28 MB / 0.6958 GB, free: 124 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithLoads.pipe 2>&1)