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.001527/0.001527, allocations: 181.9 kB / 13.23 MB, free: 2.086 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.249/1.249, allocations: 221.4 MB / 235.1 MB, free: 14.44 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.0009219/0.0009219, allocations: 101.3 kB / 286.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0434/0.0434, allocations: 8.11 MB / 345.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.231e-05/3.231e-05, allocations: 0 / 405.5 MB, free: 61.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08648, allocations: 52.51 MB / 458 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3023/0.3888, allocations: 82.04 MB / 0.5274 GB, free: 3.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.389, allocations: 67.78 kB / 0.5274 GB, free: 3.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09499/0.484, allocations: 38.92 MB / 0.5654 GB, free: 3.594 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4841, allocations: 0 / 0.5654 GB, free: 3.594 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.97e-05/0.4841, allocations: 24 kB / 0.5655 GB, free: 3.57 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: 262 * Number of variables: 262 Notification: Performance of Generate backend data structure: time 0.007995/0.4921, allocations: 2.202 MB / 0.5676 GB, free: 1.309 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4922, allocations: 8.031 kB / 0.5676 GB, free: 1.301 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003731/0.4926, allocations: 158.3 kB / 0.5678 GB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.4939, allocations: 0.8739 MB / 0.5686 GB, free: 236 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.4942, allocations: 303.7 kB / 0.5689 GB, free: 15.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000191/0.4944, allocations: 100 kB / 0.569 GB, free: 15.79 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002956/0.4973, allocations: 1.784 MB / 0.5707 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.4974, allocations: 8 kB / 0.5708 GB, free: 13.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00016/0.4975, allocations: 49.31 kB / 0.5708 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.4976, allocations: 24 kB / 0.5708 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.5002, allocations: 1.687 MB / 0.5725 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/0.5103, allocations: 7.457 MB / 0.5798 GB, free: 4.25 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003553/0.5139, allocations: 3.825 MB / 0.5835 GB, free: 40 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001602/0.5155, allocations: 1.161 MB / 0.5846 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002504/0.5158, allocations: 114.3 kB / 0.5847 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/0.5179, allocations: 1.303 MB / 0.586 GB, free: 13.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=167): time 3.676e-06/0.5179, allocations: 4 kB / 0.586 GB, free: 13.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=167): time 0.006792/0.5247, allocations: 3.283 MB / 0.5892 GB, free: 10.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.5248, allocations: 124.8 kB / 0.5893 GB, free: 9.984 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009081/0.5257, allocations: 0.6679 MB / 0.59 GB, free: 9.312 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.5258, allocations: 61.7 kB / 0.59 GB, free: 9.246 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/0.5262, allocations: 433.1 kB / 0.5905 GB, free: 8.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000464/0.5267, allocations: 0.5429 MB / 0.591 GB, free: 8.266 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.5268, allocations: 32 kB / 0.591 GB, free: 8.234 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5269, allocations: 361.9 kB / 0.5914 GB, free: 7.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001509/0.5284, allocations: 0.9531 MB / 0.5923 GB, free: 6.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.53, allocations: 1.094 MB / 0.5934 GB, free: 5.816 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.5316, allocations: 1.017 MB / 0.5944 GB, free: 4.801 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5316, allocations: 32 / 0.5944 GB, free: 4.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006904/0.5385, allocations: 3.439 MB / 0.5977 GB, free: 1.348 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5385, allocations: 4 kB / 0.5977 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5386, allocations: 0 / 0.5977 GB, free: 1.344 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01322/0.5518, allocations: 3.753 MB / 0.6014 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007987/0.5526, allocations: 179.7 kB / 0.6016 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/0.5584, allocations: 3.273 MB / 0.6047 GB, free: 10.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/0.56, allocations: 146.7 kB / 0.6049 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.5601, allocations: 51.98 kB / 0.6049 GB, free: 9.918 MB / 426.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 () * 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.0003695/0.5605, allocations: 199.9 kB / 0.6051 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/0.5608, allocations: 130.5 kB / 0.6053 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007298/0.5681, allocations: 3.625 MB / 0.6088 GB, free: 5.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.5682, allocations: 24 kB / 0.6088 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5682, allocations: 0 / 0.6088 GB, free: 5.922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.5682, allocations: 7.969 kB / 0.6088 GB, free: 5.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00946/0.5777, allocations: 6.127 MB / 0.6148 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/0.5777, allocations: 4 kB / 0.6148 GB, free: 15.72 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.5782, allocations: 147.8 kB / 0.615 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01268/0.5909, allocations: 3.308 MB / 0.6182 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000289/0.5913, allocations: 39.94 kB / 0.6182 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005785/0.597, allocations: 3.317 MB / 0.6215 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5971, allocations: 3.984 kB / 0.6215 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006226/0.6033, allocations: 3.319 MB / 0.6247 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.6038, allocations: 235.1 kB / 0.6249 GB, free: 5.281 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/0.604, allocations: 47.95 kB / 0.625 GB, free: 5.234 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/0.6054, allocations: 127.9 kB / 0.6251 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000285/0.6057, allocations: 129.7 kB / 0.6252 GB, free: 4.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001498/0.6058, allocations: 63.98 kB / 0.6253 GB, free: 4.918 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007263/0.6066, allocations: 0.5187 MB / 0.6258 GB, free: 4.402 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6066, allocations: 0 / 0.6258 GB, free: 4.402 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001059/0.6077, allocations: 423.6 kB / 0.6262 GB, free: 3.988 MB / 442.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) * 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.0003931/0.6081, allocations: 197.6 kB / 0.6264 GB, free: 3.789 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006173/0.6142, allocations: 2.661 MB / 0.629 GB, free: 1.129 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/0.6143, allocations: 5.688 kB / 0.629 GB, free: 1.121 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004431/0.6187, allocations: 1.584 MB / 0.6305 GB, free: 15.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009324/0.6197, allocations: 124.7 kB / 0.6306 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003659/0.6233, allocations: 1.853 MB / 0.6325 GB, free: 13.54 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006653/0.624, allocations: 1.112 MB / 0.6335 GB, free: 12.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006268/0.6247, allocations: 153 kB / 0.6337 GB, free: 12.24 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002445/0.6249, allocations: 87.41 kB / 0.6338 GB, free: 12.16 MB / 458.7 MB Notification: Performance of SimCode: time 8.11e-07/0.6249, allocations: 0 / 0.6338 GB, free: 12.16 MB / 458.7 MB Notification: Performance of Templates: time 0.2329/0.8578, allocations: 29.07 MB / 0.6622 GB, free: 134.2 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)