Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoadWithBuses,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses",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.001196/0.001196, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.5 MB / 230 MB, free: 7.566 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.0008289/0.0008288, allocations: 92.22 kB / 280.9 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04379/0.04379, allocations: 8.096 MB / 339.7 MB, free: 7.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.136e-05, allocations: 3.5 kB / 398.6 MB, free: 49.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1018, allocations: 52.53 MB / 451.1 MB, free: 5.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1083/0.2102, allocations: 78.3 MB / 0.517 GB, free: 7.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.2105, allocations: 67.97 kB / 0.517 GB, free: 6.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01149/0.222, allocations: 4.472 MB / 0.5214 GB, free: 2.422 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.222, allocations: 7.938 kB / 0.5214 GB, free: 2.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.222, allocations: 4 kB / 0.5214 GB, free: 2.41 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006777/0.2227, allocations: 434 kB / 0.5218 GB, free: 1.941 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.2228, allocations: 15.98 kB / 0.5219 GB, free: 1.926 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.59e-05/0.2228, allocations: 15.86 kB / 0.5219 GB, free: 1.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.223, allocations: 178.8 kB / 0.522 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.223, allocations: 4 kB / 0.522 GB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.223, allocations: 8 kB / 0.522 GB, free: 1.684 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000175/0.2232, allocations: 95.91 kB / 0.5221 GB, free: 1.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.2234, allocations: 118.7 kB / 0.5223 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.2234, allocations: 0 / 0.5223 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2235, allocations: 0 / 0.5223 GB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.2235, allocations: 7.953 kB / 0.5223 GB, free: 1.461 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.2242, allocations: 460.9 kB / 0.5227 GB, free: 0.9688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002733/0.2244, allocations: 86.75 kB / 0.5228 GB, free: 0.875 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.393e-05/0.2245, allocations: 24.97 kB / 0.5228 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.2246, allocations: 85.53 kB / 0.5229 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2247, allocations: 34.56 kB / 0.5229 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.2247, allocations: 0 / 0.5229 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003438/0.225, allocations: 102.4 kB / 0.523 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.2251, allocations: 55.34 kB / 0.5231 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/0.2252, allocations: 128.9 kB / 0.5232 GB, free: 404 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.2252, allocations: 25.7 kB / 0.5232 GB, free: 372 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.2253, allocations: 127.6 kB / 0.5233 GB, free: 240 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.2253, allocations: 11.81 kB / 0.5234 GB, free: 228 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.2253, allocations: 0 / 0.5234 GB, free: 228 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.2112/0.4365, allocations: 326.8 kB / 0.5237 GB, free: 79.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.4367, allocations: 21.19 kB / 0.5237 GB, free: 79.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/0.4367, allocations: 26.53 kB / 0.5237 GB, free: 79.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.4369, allocations: 36.06 kB / 0.5237 GB, free: 79.12 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.437, allocations: 0 / 0.5237 GB, free: 79.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00041/0.4374, allocations: 133 kB / 0.5239 GB, free: 79.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.4374, allocations: 6.859 kB / 0.5239 GB, free: 79.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4374, allocations: 2.906 kB / 0.5239 GB, free: 79.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/0.4377, allocations: 38.41 kB / 0.5239 GB, free: 79.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.721e-05/0.4378, allocations: 15.98 kB / 0.5239 GB, free: 79.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009892/0.4388, allocations: 1.26 MB / 0.5252 GB, free: 77.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.794e-05/0.439, allocations: 7.141 kB / 0.5252 GB, free: 77.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.439, allocations: 4.438 kB / 0.5252 GB, free: 77.88 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.388e-05/0.439, allocations: 104.2 kB / 0.5253 GB, free: 77.78 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002434/0.4393, allocations: 107.9 kB / 0.5254 GB, free: 77.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.34e-05/0.4393, allocations: 9.797 kB / 0.5254 GB, free: 77.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.4396, allocations: 109 kB / 0.5255 GB, free: 77.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.4396, allocations: 0 / 0.5255 GB, free: 77.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4396, allocations: 1.594 kB / 0.5255 GB, free: 77.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4396, allocations: 1.938 kB / 0.5255 GB, free: 77.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.4398, allocations: 179.8 kB / 0.5257 GB, free: 77.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4398, allocations: 3.953 kB / 0.5257 GB, free: 77.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.217e-05/0.4399, allocations: 8.281 kB / 0.5257 GB, free: 77.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000139/0.44, allocations: 36.73 kB / 0.5257 GB, free: 77.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.44, allocations: 3.688 kB / 0.5257 GB, free: 77.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006692/0.4407, allocations: 1.249 MB / 0.5269 GB, free: 76.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.4407, allocations: 0 / 0.5269 GB, free: 76.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.441, allocations: 199 kB / 0.5271 GB, free: 76.19 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.441, allocations: 87.92 kB / 0.5272 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.4411, allocations: 1.078 kB / 0.5272 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4412, allocations: 15.12 kB / 0.5272 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.4412, allocations: 7.609 kB / 0.5272 GB, free: 76.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.4412, allocations: 1.375 kB / 0.5272 GB, free: 76.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.018e-05/0.4413, allocations: 107.9 kB / 0.5273 GB, free: 76.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4413, allocations: 3.281 kB / 0.5273 GB, free: 76.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003166/0.4416, allocations: 35.66 kB / 0.5274 GB, free: 76.01 MB / 362.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005036/0.4421, allocations: 0.7324 MB / 0.5281 GB, free: 75.34 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003332/0.4425, allocations: 182.5 kB / 0.5283 GB, free: 75.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.4425, allocations: 192 / 0.5283 GB, free: 75.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.4426, allocations: 128.8 kB / 0.5284 GB, free: 75.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002262/0.4429, allocations: 19.06 kB / 0.5284 GB, free: 75.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000449/0.4433, allocations: 165.5 kB / 0.5286 GB, free: 75.01 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001671/0.4435, allocations: 0.7124 MB / 0.5293 GB, free: 74.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.821e-05/0.4436, allocations: 15.72 kB / 0.5293 GB, free: 74.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.4437, allocations: 33.44 kB / 0.5293 GB, free: 74.3 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4437, allocations: 0 / 0.5293 GB, free: 74.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02169/0.4654, allocations: 2.059 MB / 0.5313 GB, free: 74.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001281/0.4655, allocations: 132.8 kB / 0.5314 GB, free: 74.01 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.517/1.982, allocations: 3.75 kB / 0.5314 GB, free: 74.01 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoadWithBuses.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)