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.0009928/0.0009926, allocations: 177.6 kB / 8.045 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.379/1.379, allocations: 221.5 MB / 230 MB, free: 7.52 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.0008736/0.0008739, allocations: 109.9 kB / 280.9 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0412/0.0412, allocations: 8.106 MB / 339.8 MB, free: 7.004 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.472e-05, allocations: 5 kB / 398.6 MB, free: 49.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 52.52 MB / 451.1 MB, free: 5.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.2111, allocations: 78.92 MB / 0.5176 GB, free: 6.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.2113, allocations: 59.97 kB / 0.5176 GB, free: 6.227 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2713/0.4827, allocations: 6.624 MB / 0.5241 GB, free: 78.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4827, allocations: 0 / 0.5241 GB, free: 78.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.4827, allocations: 3.438 kB / 0.5241 GB, free: 78.3 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001508/0.4843, allocations: 0.5183 MB / 0.5246 GB, free: 77.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.916e-05/0.4843, allocations: 14.02 kB / 0.5246 GB, free: 77.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.473e-05/0.4844, allocations: 29.06 kB / 0.5247 GB, free: 77.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.4848, allocations: 245.3 kB / 0.5249 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.4848, allocations: 4.781 kB / 0.5249 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.4848, allocations: 8.719 kB / 0.5249 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004208/0.4853, allocations: 191.9 kB / 0.5251 GB, free: 77.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.4857, allocations: 186.5 kB / 0.5253 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.4857, allocations: 1.188 kB / 0.5253 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.364e-05/0.4858, allocations: 0 / 0.5253 GB, free: 77.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.4858, allocations: 12.05 kB / 0.5253 GB, free: 77.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.4874, allocations: 0.8307 MB / 0.5261 GB, free: 77.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009576/0.4884, allocations: 359.8 kB / 0.5264 GB, free: 77.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/0.4886, allocations: 121 kB / 0.5265 GB, free: 77.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.042e-05/0.4887, allocations: 11.53 kB / 0.5266 GB, free: 77.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4888, allocations: 37.44 kB / 0.5266 GB, free: 77.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.864e-06/0.4888, allocations: 0 / 0.5266 GB, free: 77.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.00158/0.4904, allocations: 403.9 kB / 0.527 GB, free: 76.99 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.4904, allocations: 55.28 kB / 0.527 GB, free: 76.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.4906, allocations: 171.6 kB / 0.5272 GB, free: 76.83 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.4907, allocations: 28.14 kB / 0.5272 GB, free: 76.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.706e-05/0.4907, allocations: 123.2 kB / 0.5273 GB, free: 76.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.217e-05/0.4908, allocations: 71.25 kB / 0.5274 GB, free: 76.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.947e-05/0.4909, allocations: 0 / 0.5274 GB, free: 76.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.4909, allocations: 329.4 kB / 0.5277 GB, free: 76.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.4911, allocations: 105.9 kB / 0.5278 GB, free: 76.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.4914, allocations: 97.59 kB / 0.5279 GB, free: 76.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004808/0.4919, allocations: 124.3 kB / 0.528 GB, free: 76.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4919, allocations: 1.25 kB / 0.528 GB, free: 76.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001541/0.4934, allocations: 431.9 kB / 0.5284 GB, free: 76.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.4935, allocations: 5.125 kB / 0.5284 GB, free: 76.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.4935, allocations: 3.938 kB / 0.5285 GB, free: 76.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.4945, allocations: 172.8 kB / 0.5286 GB, free: 76.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.4947, allocations: 33.08 kB / 0.5286 GB, free: 76.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003508/0.4982, allocations: 2.073 MB / 0.5307 GB, free: 75.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.4985, allocations: 13.03 kB / 0.5307 GB, free: 75.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.395e-05/0.4986, allocations: 5.812 kB / 0.5307 GB, free: 75.02 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real 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 0.0001689/0.4987, allocations: 111.3 kB / 0.5308 GB, free: 74.91 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001586/0.5003, allocations: 389.8 kB / 0.5312 GB, free: 74.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.5004, allocations: 17.16 kB / 0.5312 GB, free: 74.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001614/0.5021, allocations: 445.3 kB / 0.5316 GB, free: 74.78 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5021, allocations: 3.766 kB / 0.5316 GB, free: 74.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.5021, allocations: 4 kB / 0.5316 GB, free: 74.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.167e-06/0.5021, allocations: 2.203 kB / 0.5316 GB, free: 74.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002077/0.5042, allocations: 0.8147 MB / 0.5324 GB, free: 74.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5042, allocations: 0 / 0.5324 GB, free: 74.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.5044, allocations: 29.41 kB / 0.5324 GB, free: 74.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001/0.5054, allocations: 179.5 kB / 0.5326 GB, free: 74.47 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/0.5054, allocations: 6.219 kB / 0.5326 GB, free: 74.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003595/0.509, allocations: 2.073 MB / 0.5346 GB, free: 73.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.5091, allocations: 0 / 0.5346 GB, free: 73.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.5107, allocations: 0.4981 MB / 0.5351 GB, free: 73.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.11e-05/0.5108, allocations: 99.09 kB / 0.5352 GB, free: 72.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.5109, allocations: 8.344 kB / 0.5352 GB, free: 72.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002732/0.5112, allocations: 7.672 kB / 0.5352 GB, free: 72.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.5113, allocations: 22.02 kB / 0.5353 GB, free: 72.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.5113, allocations: 7.25 kB / 0.5353 GB, free: 72.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001739/0.5115, allocations: 137.8 kB / 0.5354 GB, free: 72.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5115, allocations: 0 / 0.5354 GB, free: 72.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006689/0.5122, allocations: 67.97 kB / 0.5355 GB, free: 72.89 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 (15): * Single equations (assignments): 14 * 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.001906/0.5141, allocations: 1.052 MB / 0.5365 GB, free: 72.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001366/0.5155, allocations: 436.4 kB / 0.5369 GB, free: 72.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5155, allocations: 0 / 0.5369 GB, free: 72.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008818/0.5164, allocations: 311.2 kB / 0.5372 GB, free: 71.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.5169, allocations: 21.64 kB / 0.5372 GB, free: 71.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.518, allocations: 298.6 kB / 0.5375 GB, free: 71.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.5183, allocations: 0.7326 MB / 0.5382 GB, free: 71.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001438/0.5184, allocations: 23.08 kB / 0.5382 GB, free: 71.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.5186, allocations: 55.92 kB / 0.5383 GB, free: 71.07 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5186, allocations: 0 / 0.5383 GB, free: 71.07 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.5517, allocations: 5.452 MB / 0.5436 GB, free: 70.62 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/0.552, allocations: 150.2 kB / 0.5438 GB, free: 70.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.233, allocations: 3.938 kB / 0.5438 GB, free: 70.41 MB / 362.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)