Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.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.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 172 kB / 16.8 MB, free: 4.902 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.497/1.497, allocations: 223.3 MB / 240.8 MB, free: 9.977 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.0007833/0.0007832, allocations: 96.38 kB / 292 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04441/0.04441, allocations: 8.105 MB / 351.2 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003547, allocations: 12.84 kB / 414.4 MB, free: 57.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08673/0.08711, allocations: 52.51 MB / 466.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3361/0.4233, allocations: 81.87 MB / 0.5359 GB, free: 3.699 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.4235, allocations: 76.12 kB / 0.536 GB, free: 3.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09827/0.5218, allocations: 39.01 MB / 0.5741 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5219, allocations: 0 / 0.5741 GB, free: 14.96 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.365e-05/0.522, allocations: 28 kB / 0.5741 GB, free: 14.93 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.00928/0.5312, allocations: 2.375 MB / 0.5764 GB, free: 12.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.5313, allocations: 8.031 kB / 0.5764 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007342/0.532, allocations: 159.2 kB / 0.5766 GB, free: 12.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002297/0.5344, allocations: 0.9213 MB / 0.5775 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002708/0.5347, allocations: 312.2 kB / 0.5778 GB, free: 11.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004434/0.5351, allocations: 100.4 kB / 0.5779 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.5387, allocations: 1.823 MB / 0.5797 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.5387, allocations: 3.938 kB / 0.5797 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.5389, allocations: 48 kB / 0.5797 GB, free: 8.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.5389, allocations: 28 kB / 0.5797 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002756/0.5417, allocations: 1.718 MB / 0.5814 GB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.5529, allocations: 7.489 MB / 0.5887 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.5565, allocations: 3.846 MB / 0.5925 GB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/0.5581, allocations: 1.172 MB / 0.5936 GB, free: 9.875 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002596/0.5584, allocations: 126.2 kB / 0.5937 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002121/0.5605, allocations: 1.33 MB / 0.595 GB, free: 8.395 MB / 410.7 MB Notification: Performance of pre-optimization done (n=167): time 3.666e-06/0.5605, allocations: 0 / 0.595 GB, free: 8.395 MB / 410.7 MB Notification: Performance of matching and sorting (n=167): time 0.03389/0.5944, allocations: 9.393 MB / 0.6042 GB, free: 14.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.513e-05/0.5945, allocations: 124.8 kB / 0.6043 GB, free: 14.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.5958, allocations: 0.7818 MB / 0.6051 GB, free: 14.03 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000193/0.596, allocations: 65.69 kB / 0.6052 GB, free: 13.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.5963, allocations: 433.2 kB / 0.6056 GB, free: 13.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004959/0.5968, allocations: 0.5466 MB / 0.6061 GB, free: 12.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.597, allocations: 32 kB / 0.6061 GB, free: 12.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5971, allocations: 365.8 kB / 0.6065 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.5986, allocations: 0.9841 MB / 0.6074 GB, free: 11.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/0.6002, allocations: 1.121 MB / 0.6085 GB, free: 10.46 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003069/0.6033, allocations: 2.09 MB / 0.6106 GB, free: 8.359 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.6033, allocations: 0 / 0.6106 GB, free: 8.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006872/0.6102, allocations: 3.51 MB / 0.614 GB, free: 4.836 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/0.6103, allocations: 4 kB / 0.614 GB, free: 4.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.6103, allocations: 4 kB / 0.614 GB, free: 4.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/0.6234, allocations: 3.817 MB / 0.6177 GB, free: 1.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009261/0.6243, allocations: 179.8 kB / 0.6179 GB, free: 0.8281 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00608/0.6304, allocations: 3.304 MB / 0.6211 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.6323, allocations: 158.8 kB / 0.6213 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001509/0.6324, allocations: 55.97 kB / 0.6213 GB, free: 13.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.feeder2.load1.degradedMode,feeder2.load1.degradedMode,$PRE.feeder2.load2.degradedMode,feeder2.load2.degradedMode,$PRE.feeder2.load3.degradedMode,feeder2.load3.degradedMode,$PRE.feeder2.load4.degradedMode,feeder2.load4.degradedMode,$PRE.feeder1.load1.degradedMode,feeder1.load1.degradedMode,$PRE.feeder1.load2.degradedMode,feeder1.load2.degradedMode,$PRE.feeder1.load3.degradedMode,feeder1.load3.degradedMode,$PRE.feeder1.load4.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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 {28 56} Notification: Performance of prepare postOptimizeDAE: time 0.0007683/0.6332, allocations: 336 kB / 0.6217 GB, free: 12.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002994/0.6335, allocations: 126.6 kB / 0.6218 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007038/0.6406, allocations: 3.665 MB / 0.6254 GB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.6406, allocations: 20 kB / 0.6254 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.6406, allocations: 0 / 0.6254 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.54e-05/0.6406, allocations: 7.969 kB / 0.6254 GB, free: 9.121 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009264/0.6499, allocations: 6.186 MB / 0.6314 GB, free: 2.871 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.6499, allocations: 4 kB / 0.6314 GB, free: 2.867 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.6505, allocations: 151.8 kB / 0.6316 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0122/0.6627, allocations: 3.395 MB / 0.6349 GB, free: 15.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003316/0.663, allocations: 35.98 kB / 0.6349 GB, free: 15.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005532/0.6686, allocations: 3.362 MB / 0.6382 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.6686, allocations: 0 / 0.6382 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005839/0.6744, allocations: 3.366 MB / 0.6415 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004963/0.675, allocations: 243.1 kB / 0.6417 GB, free: 8.25 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002182/0.6752, allocations: 32 kB / 0.6418 GB, free: 8.219 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.6766, allocations: 139.9 kB / 0.6419 GB, free: 8.082 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.6769, allocations: 121.8 kB / 0.642 GB, free: 7.961 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/0.6771, allocations: 67.97 kB / 0.6421 GB, free: 7.895 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008644/0.6779, allocations: 0.5575 MB / 0.6426 GB, free: 7.34 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.678, allocations: 0 / 0.6426 GB, free: 7.34 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00105/0.679, allocations: 427.5 kB / 0.643 GB, free: 6.922 MB / 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: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,feeder2.load1.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder1.load1.degradedMode,feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder1.load4.degradedMode) * Number of discrete states: 8 (feeder1.load2.degradedMode,feeder1.load3.degradedMode,feeder2.load2.degradedMode,feeder2.load3.degradedMode,feeder2.load4.degradedMode,feeder2.load1.degradedMode,feeder1.load1.degradedMode,feeder1.load4.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 96 * 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 {28 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003697/0.6794, allocations: 193.7 kB / 0.6432 GB, free: 6.723 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006184/0.6856, allocations: 2.715 MB / 0.6459 GB, free: 4.008 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.6856, allocations: 9.625 kB / 0.6459 GB, free: 4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004476/0.6901, allocations: 1.6 MB / 0.6474 GB, free: 2.406 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.6917, allocations: 169 kB / 0.6476 GB, free: 2.242 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1753/0.867, allocations: 2.81 MB / 0.6503 GB, free: 134.2 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000749/0.8678, allocations: 1.086 MB / 0.6514 GB, free: 133.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000884/0.8687, allocations: 156.8 kB / 0.6516 GB, free: 133.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002767/0.869, allocations: 96.22 kB / 0.6516 GB, free: 133.5 MB / 458.7 MB Notification: Performance of SimCode: time 9.01e-07/0.869, allocations: 0 / 0.6516 GB, free: 133.5 MB / 458.7 MB Notification: Performance of Templates: time 0.04192/0.9109, allocations: 29.49 MB / 0.6804 GB, free: 131.5 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1)