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.001152/0.001152, allocations: 180.7 kB / 15.8 MB, free: 6.34 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.325/1.325, allocations: 223.2 MB / 239.7 MB, free: 1.789 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.000924/0.000924, allocations: 92.8 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04718/0.04718, allocations: 8.099 MB / 350.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003462, allocations: 14.88 kB / 413.1 MB, free: 89.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1018, allocations: 52.53 MB / 465.6 MB, free: 42.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4503, allocations: 81.46 MB / 0.5343 GB, free: 16.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.4505, allocations: 69.95 kB / 0.5343 GB, free: 16.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08417/0.5347, allocations: 36.2 MB / 0.5697 GB, free: 26.95 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5348, allocations: 5.375 kB / 0.5697 GB, free: 26.95 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.314e-05/0.5348, allocations: 17.88 kB / 0.5697 GB, free: 26.95 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.006816/0.5416, allocations: 2.11 MB / 0.5718 GB, free: 25.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5417, allocations: 8.938 kB / 0.5718 GB, free: 25.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003917/0.5421, allocations: 141.7 kB / 0.5719 GB, free: 25.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.5434, allocations: 0.8223 MB / 0.5727 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.193e-05/0.5435, allocations: 61.66 kB / 0.5728 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.5437, allocations: 87.31 kB / 0.5728 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.5461, allocations: 1.516 MB / 0.5743 GB, free: 24.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.734e-05/0.5461, allocations: 0 / 0.5743 GB, free: 24.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001275/0.5463, allocations: 39.28 kB / 0.5744 GB, free: 24.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/0.5463, allocations: 20.72 kB / 0.5744 GB, free: 24.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002281/0.5486, allocations: 1.469 MB / 0.5758 GB, free: 24.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008356/0.5569, allocations: 6.483 MB / 0.5821 GB, free: 21.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/0.5601, allocations: 3.745 MB / 0.5858 GB, free: 18.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002273/0.5604, allocations: 120 kB / 0.5859 GB, free: 18.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.148e-05/0.5604, allocations: 57.77 kB / 0.586 GB, free: 18.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=151): time 3.277e-06/0.5605, allocations: 0 / 0.586 GB, free: 18.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=151): time 0.02652/0.587, allocations: 7.606 MB / 0.5934 GB, free: 14.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/0.5871, allocations: 123.5 kB / 0.5935 GB, free: 14.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009388/0.588, allocations: 0.6351 MB / 0.5941 GB, free: 14.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001692/0.5882, allocations: 53.48 kB / 0.5942 GB, free: 14.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.5884, allocations: 364.7 kB / 0.5945 GB, free: 13.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.5888, allocations: 0.5002 MB / 0.595 GB, free: 13.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.56e-05/0.5889, allocations: 23.78 kB / 0.595 GB, free: 13.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.589, allocations: 349.6 kB / 0.5954 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.5902, allocations: 0.8182 MB / 0.5962 GB, free: 12.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.5914, allocations: 0.9165 MB / 0.5971 GB, free: 12.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.5926, allocations: 0.9024 MB / 0.598 GB, free: 11.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.5926, allocations: 0 / 0.598 GB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.009097/0.6017, allocations: 3.725 MB / 0.6016 GB, free: 9.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.6018, allocations: 7.859 kB / 0.6016 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6018, allocations: 3.938 kB / 0.6016 GB, free: 9.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.612, allocations: 2.928 MB / 0.6045 GB, free: 8.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.6127, allocations: 150.7 kB / 0.6046 GB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/0.6342, allocations: 12.4 MB / 0.6167 GB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.6356, allocations: 91.11 kB / 0.6168 GB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.6357, allocations: 47.97 kB / 0.6168 GB, free: 14.65 MB / 394.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.0006501/0.6364, allocations: 289.7 kB / 0.6171 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.6367, allocations: 122.8 kB / 0.6172 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01048/0.6471, allocations: 4.074 MB / 0.6212 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.6472, allocations: 20 kB / 0.6212 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.6472, allocations: 0 / 0.6212 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.656e-05/0.6472, allocations: 11.97 kB / 0.6212 GB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.6609, allocations: 6.361 MB / 0.6275 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/0.661, allocations: 0 / 0.6275 GB, free: 3.723 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007332/0.6617, allocations: 167.8 kB / 0.6276 GB, free: 3.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/0.6718, allocations: 2.389 MB / 0.63 GB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002565/0.6721, allocations: 35.98 kB / 0.63 GB, free: 1.125 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0212/0.6933, allocations: 12.22 MB / 0.6419 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.6934, allocations: 11.92 kB / 0.6419 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.7039, allocations: 3.937 MB / 0.6458 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005051/0.7044, allocations: 223.2 kB / 0.646 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/0.7047, allocations: 32 kB / 0.646 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7058, allocations: 103.9 kB / 0.6461 GB, free: 436 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005033/0.7064, allocations: 130.4 kB / 0.6462 GB, free: 304 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.7065, allocations: 51.98 kB / 0.6463 GB, free: 252 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000817/0.7073, allocations: 0.5108 MB / 0.6468 GB, free: 15.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.7073, allocations: 0 / 0.6468 GB, free: 15.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001835/0.7092, allocations: 0.5388 MB / 0.6473 GB, free: 15.2 MB / 426.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.0003413/0.7095, allocations: 163.1 kB / 0.6475 GB, free: 15.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006205/0.7157, allocations: 2.899 MB / 0.6503 GB, free: 12.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.7158, allocations: 0.6562 kB / 0.6503 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004717/0.7205, allocations: 1.978 MB / 0.6522 GB, free: 10.13 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.7215, allocations: 116.8 kB / 0.6523 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.7254, allocations: 2.606 MB / 0.6549 GB, free: 7.395 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006774/0.7261, allocations: 1.108 MB / 0.656 GB, free: 6.258 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005899/0.7267, allocations: 139.7 kB / 0.6561 GB, free: 6.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.727, allocations: 91.38 kB / 0.6562 GB, free: 6.027 MB / 426.7 MB Notification: Performance of SimCode: time 1.202e-06/0.727, allocations: 0 / 0.6562 GB, free: 6.027 MB / 426.7 MB Notification: Performance of Templates: time 0.05752/0.7845, allocations: 38.1 MB / 0.6934 GB, free: 24 kB / 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)