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.001098/0.001098, allocations: 181 kB / 15.8 MB, free: 6.336 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.353/1.353, allocations: 223.2 MB / 239.7 MB, free: 1.797 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.0009087/0.0009086, allocations: 102.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.05251/0.05251, allocations: 8.105 MB / 350.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003118, allocations: 16.03 kB / 413.1 MB, free: 89.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09631, allocations: 52.53 MB / 465.6 MB, free: 42.09 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3051/0.4015, allocations: 81.84 MB / 0.5346 GB, free: 16.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.4017, allocations: 72.81 kB / 0.5347 GB, free: 16.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09473/0.4965, allocations: 39.01 MB / 0.5728 GB, free: 25.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4965, allocations: 0 / 0.5728 GB, free: 25.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001058/0.4966, allocations: 20.47 kB / 0.5728 GB, free: 25.74 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.009933/0.5066, allocations: 2.398 MB / 0.5751 GB, free: 24.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.5066, allocations: 9.656 kB / 0.5752 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009187/0.5076, allocations: 160.8 kB / 0.5753 GB, free: 24.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002423/0.51, allocations: 0.8985 MB / 0.5762 GB, free: 23.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/0.5102, allocations: 305.8 kB / 0.5765 GB, free: 23.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003826/0.5106, allocations: 98.5 kB / 0.5766 GB, free: 23.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003508/0.5141, allocations: 1.812 MB / 0.5783 GB, free: 23.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.5142, allocations: 0 / 0.5783 GB, free: 23.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001844/0.5144, allocations: 50.69 kB / 0.5784 GB, free: 23.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.899e-05/0.5144, allocations: 27.19 kB / 0.5784 GB, free: 23.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/0.5167, allocations: 1.726 MB / 0.5801 GB, free: 23.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01032/0.5271, allocations: 7.504 MB / 0.5874 GB, free: 19.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.5305, allocations: 3.848 MB / 0.5912 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.5308, allocations: 121.5 kB / 0.5913 GB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/0.5327, allocations: 1.313 MB / 0.5926 GB, free: 14.94 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 4.478e-06/0.5327, allocations: 3.875 kB / 0.5926 GB, free: 14.94 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.03479/0.5675, allocations: 9.282 MB / 0.6017 GB, free: 9.613 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.926e-05/0.5677, allocations: 124.2 kB / 0.6018 GB, free: 9.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/0.569, allocations: 0.7041 MB / 0.6025 GB, free: 9.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00034/0.5693, allocations: 65.2 kB / 0.6025 GB, free: 9.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003806/0.5697, allocations: 435.4 kB / 0.6029 GB, free: 8.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005555/0.5703, allocations: 0.5401 MB / 0.6035 GB, free: 8.168 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.5704, allocations: 31.81 kB / 0.6035 GB, free: 8.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001925/0.5706, allocations: 373.2 kB / 0.6039 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001484/0.5721, allocations: 0.9734 MB / 0.6048 GB, free: 7.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/0.5736, allocations: 1.118 MB / 0.6059 GB, free: 6.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.5751, allocations: 1.043 MB / 0.6069 GB, free: 5.973 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.5751, allocations: 0 / 0.6069 GB, free: 5.973 MB / 378.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006851/0.5819, allocations: 3.506 MB / 0.6103 GB, free: 3.988 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.582, allocations: 6.031 kB / 0.6103 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.582, allocations: 3.031 kB / 0.6103 GB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01349/0.5955, allocations: 3.809 MB / 0.6141 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009829/0.5966, allocations: 187.7 kB / 0.6142 GB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005967/0.6025, allocations: 3.304 MB / 0.6175 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.6046, allocations: 154.8 kB / 0.6176 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.6048, allocations: 63.97 kB / 0.6177 GB, free: 13.96 MB / 394.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.0008454/0.6057, allocations: 324.8 kB / 0.618 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003884/0.6061, allocations: 130.6 kB / 0.6181 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00729/0.6134, allocations: 3.669 MB / 0.6217 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.6134, allocations: 20 kB / 0.6217 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.6134, allocations: 3.938 kB / 0.6217 GB, free: 9.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.6135, allocations: 7.969 kB / 0.6217 GB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009779/0.6232, allocations: 6.197 MB / 0.6278 GB, free: 3.566 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.328e-06/0.6233, allocations: 4 kB / 0.6278 GB, free: 3.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005183/0.6238, allocations: 147.8 kB / 0.6279 GB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01278/0.6366, allocations: 3.36 MB / 0.6312 GB, free: 52 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003644/0.637, allocations: 43.94 kB / 0.6312 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005961/0.643, allocations: 3.35 MB / 0.6345 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.643, allocations: 4 kB / 0.6345 GB, free: 12.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006014/0.649, allocations: 3.362 MB / 0.6378 GB, free: 9.254 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005396/0.6496, allocations: 239.1 kB / 0.638 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.6498, allocations: 32 kB / 0.6381 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.6513, allocations: 147.8 kB / 0.6382 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.6515, allocations: 117.8 kB / 0.6383 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/0.6517, allocations: 63.97 kB / 0.6384 GB, free: 8.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008295/0.6525, allocations: 0.5498 MB / 0.6389 GB, free: 8.098 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6525, allocations: 0 / 0.6389 GB, free: 8.098 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001158/0.6537, allocations: 435.5 kB / 0.6393 GB, free: 7.672 MB / 410.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.0003599/0.6541, allocations: 188.6 kB / 0.6395 GB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006138/0.6602, allocations: 2.715 MB / 0.6422 GB, free: 4.762 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/0.6603, allocations: 5.688 kB / 0.6422 GB, free: 4.754 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004383/0.6647, allocations: 1.612 MB / 0.6437 GB, free: 3.152 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.6658, allocations: 128 kB / 0.6439 GB, free: 3.031 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004624/0.6704, allocations: 2.847 MB / 0.6466 GB, free: 168 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.6711, allocations: 1.112 MB / 0.6477 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007152/0.6718, allocations: 160.9 kB / 0.6479 GB, free: 14.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002585/0.6721, allocations: 99.38 kB / 0.648 GB, free: 14.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6721, allocations: 4 kB / 0.648 GB, free: 14.76 MB / 426.7 MB Notification: Performance of Templates: time 0.05055/0.7227, allocations: 29.26 MB / 0.6766 GB, free: 1.598 MB / 442.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)