Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.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.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLoad,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad",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.001079/0.001079, allocations: 180.9 kB / 8.049 MB, free: 1.027 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.327/1.327, allocations: 221.5 MB / 230 MB, free: 7.527 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.0008983/0.0008983, allocations: 98.14 kB / 280.9 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04968/0.04968, allocations: 8.103 MB / 339.8 MB, free: 7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.169e-05, allocations: 4.125 kB / 398.6 MB, free: 49.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 52.52 MB / 451.1 MB, free: 5.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1437/0.2549, allocations: 77.65 MB / 0.5163 GB, free: 7.535 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.2552, allocations: 63.97 kB / 0.5164 GB, free: 7.473 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01183/0.2671, allocations: 3.369 MB / 0.5197 GB, free: 4.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.2671, allocations: 0 / 0.5197 GB, free: 4.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.2671, allocations: 4 kB / 0.5197 GB, free: 4.066 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007327/0.2679, allocations: 394.2 kB / 0.5201 GB, free: 3.637 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.2679, allocations: 15.98 kB / 0.5201 GB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.268, allocations: 11.86 kB / 0.5201 GB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.2682, allocations: 175 kB / 0.5203 GB, free: 3.398 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.2682, allocations: 4 kB / 0.5203 GB, free: 3.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.2682, allocations: 4 kB / 0.5203 GB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001719/0.2684, allocations: 73.89 kB / 0.5203 GB, free: 3.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.2686, allocations: 79.17 kB / 0.5204 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.2686, allocations: 0 / 0.5204 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.2686, allocations: 0 / 0.5204 GB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.2687, allocations: 3.953 kB / 0.5204 GB, free: 3.234 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.2694, allocations: 365.1 kB / 0.5208 GB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.2698, allocations: 102.8 kB / 0.5209 GB, free: 2.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.003e-05/0.2699, allocations: 32.92 kB / 0.5209 GB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.27, allocations: 85.09 kB / 0.521 GB, free: 2.594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.2701, allocations: 38.5 kB / 0.521 GB, free: 2.547 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.2701, allocations: 0 / 0.521 GB, free: 2.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004536/0.2706, allocations: 102.4 kB / 0.5211 GB, free: 2.438 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2706, allocations: 55.41 kB / 0.5212 GB, free: 2.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.2708, allocations: 129 kB / 0.5213 GB, free: 2.238 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.2708, allocations: 25.7 kB / 0.5213 GB, free: 2.207 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.2709, allocations: 103.8 kB / 0.5214 GB, free: 2.102 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.2709, allocations: 19.8 kB / 0.5214 GB, free: 2.082 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/0.2709, allocations: 0 / 0.5214 GB, free: 2.082 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2711, allocations: 322.8 kB / 0.5217 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.213e-05/0.2712, allocations: 28 kB / 0.5218 GB, free: 1.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.2712, allocations: 35.94 kB / 0.5218 GB, free: 1.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001904/0.2714, allocations: 39.97 kB / 0.5218 GB, free: 1.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2714, allocations: 0 / 0.5218 GB, free: 1.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004581/0.2719, allocations: 142.3 kB / 0.522 GB, free: 1.508 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.2719, allocations: 4 kB / 0.522 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.2719, allocations: 0 / 0.522 GB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002688/0.2722, allocations: 33.12 kB / 0.522 GB, free: 1.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.848e-05/0.2723, allocations: 19.98 kB / 0.522 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.2737, allocations: 1.283 MB / 0.5233 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.2738, allocations: 11.83 kB / 0.5233 GB, free: 40 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.2739, allocations: 4.031 kB / 0.5233 GB, free: 36 kB / 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 0.2539/0.5278, allocations: 103.9 kB / 0.5234 GB, free: 79.95 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005204/0.5283, allocations: 99.8 kB / 0.5235 GB, free: 79.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/0.5284, allocations: 9.484 kB / 0.5235 GB, free: 79.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004154/0.5288, allocations: 122 kB / 0.5236 GB, free: 79.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5288, allocations: 0.5 kB / 0.5236 GB, free: 79.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.5289, allocations: 3.406 kB / 0.5236 GB, free: 79.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5289, allocations: 1 kB / 0.5236 GB, free: 79.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.5291, allocations: 171.1 kB / 0.5238 GB, free: 79.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/0.5292, allocations: 4.984 kB / 0.5238 GB, free: 79.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.5292, allocations: 6.297 kB / 0.5238 GB, free: 79.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002397/0.5295, allocations: 38.88 kB / 0.5238 GB, free: 79.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.5295, allocations: 1.078 kB / 0.5238 GB, free: 79.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009985/0.5305, allocations: 1.278 MB / 0.5251 GB, free: 78.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5305, allocations: 0 / 0.5251 GB, free: 78.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.5309, allocations: 202.1 kB / 0.5253 GB, free: 78.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.531, allocations: 91.42 kB / 0.5254 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.531, allocations: 3.625 kB / 0.5254 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.5312, allocations: 7.375 kB / 0.5254 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.5312, allocations: 6.438 kB / 0.5254 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.5313, allocations: 2.625 kB / 0.5254 GB, free: 78.28 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.676e-05/0.5314, allocations: 106.3 kB / 0.5255 GB, free: 78.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5314, allocations: 2.562 kB / 0.5255 GB, free: 78.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000481/0.5319, allocations: 22.53 kB / 0.5255 GB, free: 78.2 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.0006172/0.5325, allocations: 0.7479 MB / 0.5262 GB, free: 77.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004296/0.5329, allocations: 183.9 kB / 0.5264 GB, free: 77.43 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.533, allocations: 4.5 kB / 0.5264 GB, free: 77.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.5332, allocations: 140.5 kB / 0.5266 GB, free: 77.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.5335, allocations: 9.062 kB / 0.5266 GB, free: 77.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005246/0.534, allocations: 142.6 kB / 0.5267 GB, free: 77.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.5342, allocations: 0.6979 MB / 0.5274 GB, free: 76.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.022e-05/0.5343, allocations: 11.22 kB / 0.5274 GB, free: 76.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.274e-05/0.5344, allocations: 20.33 kB / 0.5274 GB, free: 76.51 MB / 362.7 MB Notification: Performance of SimCode: time 3.81e-07/0.5344, allocations: 2.156 kB / 0.5274 GB, free: 76.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.5637, allocations: 1.986 MB / 0.5294 GB, free: 76.44 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/0.564, allocations: 123.8 kB / 0.5295 GB, free: 76.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.437/2.001, allocations: 1.031 kB / 0.5295 GB, free: 76.25 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLoad.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoad.pipe 2>&1)