Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",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.001589/0.001589, allocations: 182.3 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.364/1.364, allocations: 221.4 MB / 235.1 MB, free: 14.43 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.0009227/0.0009226, allocations: 87.38 kB / 286.1 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0578/0.0578, allocations: 8.103 MB / 345.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.907e-05/2.909e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08472/0.08476, allocations: 52.52 MB / 458.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3904/0.4752, allocations: 79.84 MB / 0.5253 GB, free: 6.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.4755, allocations: 63.66 kB / 0.5254 GB, free: 6.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01789/0.4934, allocations: 6.706 MB / 0.5319 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4934, allocations: 448 / 0.5319 GB, free: 0.7461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.4935, allocations: 8 kB / 0.5319 GB, free: 0.7383 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001166/0.4946, allocations: 0.5294 MB / 0.5324 GB, free: 192 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/0.4947, allocations: 8.031 kB / 0.5324 GB, free: 184 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.4948, allocations: 55.3 kB / 0.5325 GB, free: 128 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.4949, allocations: 27.67 kB / 0.5325 GB, free: 100 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003416/0.4952, allocations: 236.2 kB / 0.5327 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.4952, allocations: 11.34 kB / 0.5328 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.4953, allocations: 15.25 kB / 0.5328 GB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.4957, allocations: 202.1 kB / 0.533 GB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4957, allocations: 0 / 0.533 GB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4957, allocations: 7.734 kB / 0.533 GB, free: 15.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.4957, allocations: 7.953 kB / 0.533 GB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.496, allocations: 208.6 kB / 0.5332 GB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.4974, allocations: 0.8772 MB / 0.534 GB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.498, allocations: 376.6 kB / 0.5344 GB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.4982, allocations: 135.5 kB / 0.5345 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.896e-05/0.4983, allocations: 7.984 kB / 0.5345 GB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.4983, allocations: 34 kB / 0.5346 GB, free: 14.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 1.863e-06/0.4983, allocations: 0 / 0.5346 GB, free: 14.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.0009885/0.4993, allocations: 417.8 kB / 0.535 GB, free: 14.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.4e-05/0.4994, allocations: 55.41 kB / 0.535 GB, free: 14.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001725/0.4995, allocations: 167.2 kB / 0.5352 GB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.849e-05/0.4996, allocations: 33.14 kB / 0.5352 GB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.4997, allocations: 115.2 kB / 0.5353 GB, free: 13.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.4997, allocations: 76.28 kB / 0.5354 GB, free: 13.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.4997, allocations: 3.062 kB / 0.5354 GB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4999, allocations: 328.3 kB / 0.5357 GB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.5, allocations: 105.2 kB / 0.5358 GB, free: 13.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.5002, allocations: 105.9 kB / 0.5359 GB, free: 13.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.5004, allocations: 119.8 kB / 0.536 GB, free: 13.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5004, allocations: 3.938 kB / 0.536 GB, free: 13.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0008604/0.5012, allocations: 447.6 kB / 0.5365 GB, free: 12.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.5013, allocations: 4.625 kB / 0.5365 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5013, allocations: 0 / 0.5365 GB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007487/0.502, allocations: 182.1 kB / 0.5366 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.5022, allocations: 27.97 kB / 0.5367 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002736/0.5049, allocations: 2.178 MB / 0.5388 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.5051, allocations: 18.53 kB / 0.5388 GB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.5051, allocations: 8 kB / 0.5388 GB, free: 10.81 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 (17): * Single equations (assignments): 16 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 9.697e-05/0.5052, allocations: 121.3 kB / 0.5389 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.5053, allocations: 19.81 kB / 0.5389 GB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009525/0.5062, allocations: 465.2 kB / 0.5394 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.5063, allocations: 7.953 kB / 0.5394 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.5063, allocations: 0 / 0.5394 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5063, allocations: 0 / 0.5394 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.5076, allocations: 0.8687 MB / 0.5402 GB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5076, allocations: 4 kB / 0.5402 GB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.5077, allocations: 27.17 kB / 0.5403 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006394/0.5084, allocations: 178 kB / 0.5404 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.5084, allocations: 11.42 kB / 0.5405 GB, free: 9.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00244/0.5108, allocations: 2.152 MB / 0.5426 GB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5109, allocations: 0 / 0.5426 GB, free: 7.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009114/0.5118, allocations: 0.5195 MB / 0.5431 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.5119, allocations: 96.84 kB / 0.5432 GB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.5119, allocations: 11.02 kB / 0.5432 GB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.5121, allocations: 7.062 kB / 0.5432 GB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.5121, allocations: 23.16 kB / 0.5432 GB, free: 7.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.831e-05/0.5122, allocations: 7.562 kB / 0.5432 GB, free: 7.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.5123, allocations: 142.6 kB / 0.5433 GB, free: 6.973 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5123, allocations: 0 / 0.5433 GB, free: 6.973 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003752/0.5127, allocations: 82.66 kB / 0.5434 GB, free: 6.902 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 (16): * Single equations (assignments): 15 * 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 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/0.514, allocations: 1.074 MB / 0.5445 GB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008985/0.5149, allocations: 450.9 kB / 0.5449 GB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.515, allocations: 4 kB / 0.5449 GB, free: 5.598 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005766/0.5155, allocations: 329 kB / 0.5452 GB, free: 5.336 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.5158, allocations: 23.03 kB / 0.5452 GB, free: 5.324 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.5165, allocations: 341.2 kB / 0.5456 GB, free: 5.016 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.5168, allocations: 0.7369 MB / 0.5463 GB, free: 4.254 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.235e-05/0.5169, allocations: 21.52 kB / 0.5463 GB, free: 4.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.517, allocations: 59.16 kB / 0.5464 GB, free: 4.207 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.517, allocations: 0 / 0.5464 GB, free: 4.207 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.5352, allocations: 6.327 MB / 0.5525 GB, free: 14.04 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001881/0.5355, allocations: 176.4 kB / 0.5527 GB, free: 13.81 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.297, allocations: 0 / 0.5527 GB, free: 13.81 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)