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: "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithVariableLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithVariableLoads",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001042, allocations: 178.1 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.483/1.483, allocations: 223.2 MB / 239.7 MB, free: 76 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009599/0.0009599, allocations: 98.98 kB / 290.9 MB, free: 4.559 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06756/0.06756, allocations: 8.101 MB / 350.1 MB, free: 4.84 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003818/0.0003816, allocations: 16 kB / 413.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2782, allocations: 52.51 MB / 465.7 MB, free: 69.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1024/0.3807, allocations: 81.83 MB / 0.5347 GB, free: 3.688 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003583/0.3811, allocations: 79.95 kB / 0.5348 GB, free: 3.609 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3622/0.7433, allocations: 39.01 MB / 0.5729 GB, free: 80.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7433, allocations: 0 / 0.5729 GB, free: 80.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.937e-05/0.7434, allocations: 26.25 kB / 0.5729 GB, free: 80.78 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.008793/0.7523, allocations: 2.397 MB / 0.5752 GB, free: 79.7 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7523, allocations: 14.72 kB / 0.5752 GB, free: 79.7 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005305/0.7528, allocations: 167.6 kB / 0.5754 GB, free: 79.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005623/0.7534, allocations: 155.2 kB / 0.5756 GB, free: 79.51 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.7551, allocations: 0.8961 MB / 0.5764 GB, free: 78.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001433/0.7552, allocations: 306.9 kB / 0.5767 GB, free: 78.47 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002529/0.7555, allocations: 96.19 kB / 0.5768 GB, free: 78.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.7584, allocations: 1.812 MB / 0.5786 GB, free: 77.3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.7584, allocations: 4 kB / 0.5786 GB, free: 77.3 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.7586, allocations: 51.27 kB / 0.5786 GB, free: 77.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.7587, allocations: 23.44 kB / 0.5787 GB, free: 77.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/0.7611, allocations: 1.728 MB / 0.5803 GB, free: 75.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009679/0.7708, allocations: 7.492 MB / 0.5877 GB, free: 67.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002863/0.7737, allocations: 3.861 MB / 0.5914 GB, free: 63.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002622/0.7739, allocations: 123.4 kB / 0.5916 GB, free: 63.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001844/0.7758, allocations: 1.314 MB / 0.5928 GB, free: 61.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=167): time 5.01e-06/0.7758, allocations: 0 / 0.5928 GB, free: 61.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.03593/0.8118, allocations: 9.282 MB / 0.6019 GB, free: 52.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.8119, allocations: 124.8 kB / 0.602 GB, free: 52.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002007/0.814, allocations: 0.7029 MB / 0.6027 GB, free: 51.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004371/0.8144, allocations: 73.69 kB / 0.6028 GB, free: 51.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/0.815, allocations: 444.1 kB / 0.6032 GB, free: 51.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006829/0.8157, allocations: 0.526 MB / 0.6037 GB, free: 50.72 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/0.8159, allocations: 35.94 kB / 0.6037 GB, free: 50.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.8161, allocations: 365.9 kB / 0.6041 GB, free: 50.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001732/0.8178, allocations: 0.9763 MB / 0.6051 GB, free: 49.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/0.8196, allocations: 1.121 MB / 0.6061 GB, free: 48.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.8213, allocations: 1.041 MB / 0.6072 GB, free: 47.17 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.8213, allocations: 0 / 0.6072 GB, free: 47.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.006642/0.8279, allocations: 3.51 MB / 0.6106 GB, free: 43.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.828, allocations: 6.344 kB / 0.6106 GB, free: 43.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.828, allocations: 4 kB / 0.6106 GB, free: 43.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01319/0.8412, allocations: 3.813 MB / 0.6143 GB, free: 39.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009035/0.8421, allocations: 187.7 kB / 0.6145 GB, free: 39.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005465/0.8476, allocations: 3.3 MB / 0.6177 GB, free: 36.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.8495, allocations: 162.7 kB / 0.6179 GB, free: 36.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/0.8498, allocations: 55.97 kB / 0.6179 GB, free: 36.1 MB / 378.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.0008534/0.8506, allocations: 324.3 kB / 0.6182 GB, free: 35.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004461/0.8511, allocations: 130.6 kB / 0.6184 GB, free: 35.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006679/0.8578, allocations: 3.665 MB / 0.6219 GB, free: 31.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.8578, allocations: 20 kB / 0.622 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8578, allocations: 0 / 0.622 GB, free: 31.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/0.8578, allocations: 7.969 kB / 0.622 GB, free: 31.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/0.8666, allocations: 6.2 MB / 0.628 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.8666, allocations: 0 / 0.628 GB, free: 25.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.8671, allocations: 151.8 kB / 0.6282 GB, free: 25.56 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01242/0.8796, allocations: 3.364 MB / 0.6315 GB, free: 22.19 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004496/0.8801, allocations: 35.98 kB / 0.6315 GB, free: 22.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006148/0.8862, allocations: 3.358 MB / 0.6348 GB, free: 18.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.8863, allocations: 0 / 0.6348 GB, free: 18.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006711/0.893, allocations: 3.359 MB / 0.6381 GB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007359/0.8938, allocations: 239.2 kB / 0.6383 GB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004701/0.8943, allocations: 32 kB / 0.6383 GB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/0.8962, allocations: 139.9 kB / 0.6384 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003834/0.8966, allocations: 121.8 kB / 0.6386 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002574/0.8969, allocations: 63.97 kB / 0.6386 GB, free: 14.8 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001193/0.8981, allocations: 0.5537 MB / 0.6392 GB, free: 14.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8981, allocations: 0 / 0.6392 GB, free: 14.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001637/0.8998, allocations: 431.5 kB / 0.6396 GB, free: 13.82 MB / 378.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.006486/0.9063, allocations: 4.01 MB / 0.6435 GB, free: 9.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006629/0.9129, allocations: 2.721 MB / 0.6461 GB, free: 7.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/0.913, allocations: 9.625 kB / 0.6462 GB, free: 7.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004278/0.9173, allocations: 1.593 MB / 0.6477 GB, free: 5.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.9186, allocations: 130.9 kB / 0.6478 GB, free: 5.336 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02225/0.9409, allocations: 10.84 MB / 0.6584 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.9419, allocations: 1.108 MB / 0.6595 GB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009452/0.9429, allocations: 157 kB / 0.6597 GB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008508/0.9438, allocations: 451.2 kB / 0.6601 GB, free: 8.461 MB / 394.7 MB Notification: Performance of SimCode: time 1.146e-05/0.9438, allocations: 4 kB / 0.6601 GB, free: 8.457 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08146/1.025, allocations: 39.58 MB / 0.6987 GB, free: 1.156 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/1.026, allocations: 229.9 kB / 0.699 GB, free: 0.9102 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.02/4.046, allocations: 4 kB / 0.699 GB, free: 0.9062 MB / 426.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithVariableLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_StructuredNetwork_DoubleNetworkWithVariableLoads.fmu > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithVariableLoads.pipe 2>&1)