Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.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.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSouceOneLineOneSource,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource",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.001085/0.001085, 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.334/1.334, allocations: 221.4 MB / 235.1 MB, free: 14.44 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.0009682/0.0009682, allocations: 99.89 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.0503/0.0503, allocations: 8.116 MB / 345.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.354e-05/3.356e-05, allocations: 4 kB / 405.6 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 52.51 MB / 458.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3596/0.4708, allocations: 78.6 MB / 0.5241 GB, free: 7.363 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.471, allocations: 56.23 kB / 0.5242 GB, free: 7.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.4852, allocations: 5.477 MB / 0.5295 GB, free: 2.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4852, allocations: 0 / 0.5295 GB, free: 2.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.4853, allocations: 4 kB / 0.5295 GB, free: 2.934 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.0009722/0.4862, allocations: 485.8 kB / 0.53 GB, free: 2.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.4863, allocations: 11.97 kB / 0.53 GB, free: 2.418 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.735e-05/0.4864, allocations: 45.48 kB / 0.53 GB, free: 2.371 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.4864, allocations: 15.86 kB / 0.53 GB, free: 2.355 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.4867, allocations: 221.7 kB / 0.5303 GB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.4868, allocations: 11.17 kB / 0.5303 GB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.853e-05/0.4868, allocations: 7.5 kB / 0.5303 GB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003158/0.4871, allocations: 163.6 kB / 0.5304 GB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4872, allocations: 4 kB / 0.5304 GB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.4872, allocations: 7.094 kB / 0.5304 GB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.4872, allocations: 7.953 kB / 0.5304 GB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.4874, allocations: 152.8 kB / 0.5306 GB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009441/0.4884, allocations: 0.6074 MB / 0.5312 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.4886, allocations: 153.2 kB / 0.5313 GB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.4887, allocations: 70.91 kB / 0.5314 GB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/0.4889, allocations: 84.55 kB / 0.5315 GB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.4889, allocations: 42.5 kB / 0.5315 GB, free: 1.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.4889, allocations: 0 / 0.5315 GB, free: 1.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005129/0.4895, allocations: 211.2 kB / 0.5317 GB, free: 0.9336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.4895, allocations: 55.36 kB / 0.5318 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.4897, allocations: 159.5 kB / 0.5319 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.4897, allocations: 29.7 kB / 0.532 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.84e-05/0.4898, allocations: 119.2 kB / 0.5321 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.4898, allocations: 50.06 kB / 0.5321 GB, free: 0.5352 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.4898, allocations: 4 kB / 0.5321 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.504e-05/0.4899, allocations: 321.6 kB / 0.5324 GB, free: 220 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.49, allocations: 78.5 kB / 0.5325 GB, free: 176 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4901, allocations: 78.84 kB / 0.5326 GB, free: 132 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.4903, allocations: 81.34 kB / 0.5327 GB, free: 88 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4903, allocations: 0 / 0.5327 GB, free: 88 kB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004589/0.4907, allocations: 274.3 kB / 0.5329 GB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.4908, allocations: 5.562 kB / 0.5329 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4908, allocations: 0 / 0.5329 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002591/0.491, allocations: 57.88 kB / 0.533 GB, free: 15.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001984/0.4913, allocations: 35.91 kB / 0.533 GB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001287/0.4925, allocations: 1.432 MB / 0.5344 GB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.4927, allocations: 19.78 kB / 0.5344 GB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.102e-05/0.4927, allocations: 4.547 kB / 0.5344 GB, free: 14.35 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 (18): * Single equations (assignments): 17 * 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 8.127e-05/0.4928, allocations: 112.7 kB / 0.5345 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.043e-05/0.4929, allocations: 19.77 kB / 0.5346 GB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004648/0.4933, allocations: 246.7 kB / 0.5348 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4933, allocations: 0 / 0.5348 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-06/0.4934, allocations: 3.938 kB / 0.5348 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4934, allocations: 0 / 0.5348 GB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002627/0.4936, allocations: 279.5 kB / 0.5351 GB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4936, allocations: 4 kB / 0.5351 GB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/0.4938, allocations: 19.98 kB / 0.5351 GB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/0.494, allocations: 61.81 kB / 0.5351 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.494, allocations: 0 / 0.5351 GB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.4952, allocations: 1.436 MB / 0.5365 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4952, allocations: 0 / 0.5365 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.4956, allocations: 305.6 kB / 0.5368 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/0.4957, allocations: 96.31 kB / 0.5369 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.4957, allocations: 4 kB / 0.5369 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4958, allocations: 3.312 kB / 0.5369 GB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/0.4959, allocations: 7.984 kB / 0.5369 GB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.4959, allocations: 6.5 kB / 0.537 GB, free: 11.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.7e-05/0.496, allocations: 140.9 kB / 0.5371 GB, free: 11.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.496, allocations: 0 / 0.5371 GB, free: 11.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.4963, allocations: 51.66 kB / 0.5371 GB, free: 11.71 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 (12): * Single equations (assignments): 11 * 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.0007616/0.4971, allocations: 0.8557 MB / 0.538 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005345/0.4976, allocations: 299.7 kB / 0.5383 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4976, allocations: 0 / 0.5383 GB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.498, allocations: 205.9 kB / 0.5385 GB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001497/0.4981, allocations: 7.766 kB / 0.5385 GB, free: 10.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00049/0.4986, allocations: 228.7 kB / 0.5387 GB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002438/0.4989, allocations: 0.7163 MB / 0.5394 GB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.828e-05/0.499, allocations: 16.75 kB / 0.5394 GB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.4991, allocations: 40.17 kB / 0.5394 GB, free: 9.469 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4991, allocations: 0 / 0.5394 GB, free: 9.469 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.5138, allocations: 3.608 MB / 0.543 GB, free: 5.98 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.514, allocations: 158.5 kB / 0.5431 GB, free: 5.762 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.555/2.069, allocations: 8 kB / 0.5431 GB, free: 5.754 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSouceOneLineOneSource.fmu > PowerSysPro_PowerSysPro.Examples.OneSouceOneLineOneSource.pipe 2>&1)