Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.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: translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009957/0.0009957, allocations: 182.4 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.247/1.247, allocations: 221.4 MB / 235.1 MB, free: 14.38 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.0009096/0.0009096, allocations: 96 kB / 286.1 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04286/0.04286, allocations: 8.1 MB / 345.1 MB, free: 1.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.628e-05, allocations: 4 kB / 405.5 MB, free: 61.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08023/0.08027, allocations: 52.52 MB / 458 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.3747, allocations: 81.13 MB / 0.5265 GB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.375, allocations: 70.39 kB / 0.5265 GB, free: 4.855 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04638/0.4214, allocations: 18.37 MB / 0.5445 GB, free: 6.137 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4214, allocations: 2.406 kB / 0.5445 GB, free: 6.137 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.4214, allocations: 15.94 kB / 0.5445 GB, free: 6.121 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.003658/0.4251, allocations: 1.146 MB / 0.5456 GB, free: 5.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.4251, allocations: 12.02 kB / 0.5456 GB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.4253, allocations: 67.25 kB / 0.5457 GB, free: 4.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006633/0.426, allocations: 450 kB / 0.5461 GB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.4261, allocations: 34.69 kB / 0.5462 GB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.149e-05/0.4261, allocations: 40.75 kB / 0.5462 GB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.4273, allocations: 0.7051 MB / 0.5469 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4273, allocations: 0 / 0.5469 GB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.4274, allocations: 14.88 kB / 0.5469 GB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4274, allocations: 12 kB / 0.5469 GB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009112/0.4283, allocations: 0.6469 MB / 0.5475 GB, free: 3.672 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004095/0.4324, allocations: 3.065 MB / 0.5505 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001269/0.4337, allocations: 1.067 MB / 0.5516 GB, free: 316 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.4343, allocations: 482.9 kB / 0.552 GB, free: 68 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002028/0.4345, allocations: 105.2 kB / 0.5521 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.4345, allocations: 42.47 kB / 0.5522 GB, free: 15.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 1.993e-06/0.4345, allocations: 0 / 0.5522 GB, free: 15.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.004839/0.4394, allocations: 1.738 MB / 0.5539 GB, free: 14.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.4395, allocations: 115.6 kB / 0.554 GB, free: 14.52 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.4398, allocations: 344.2 kB / 0.5543 GB, free: 14.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.493e-05/0.4399, allocations: 40.08 kB / 0.5544 GB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.4401, allocations: 213 kB / 0.5546 GB, free: 14.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.4403, allocations: 250.1 kB / 0.5548 GB, free: 13.85 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.4403, allocations: 15 kB / 0.5548 GB, free: 13.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4405, allocations: 359.3 kB / 0.5552 GB, free: 13.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005137/0.441, allocations: 370.3 kB / 0.5555 GB, free: 13.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005801/0.4416, allocations: 431.5 kB / 0.5559 GB, free: 12.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.4422, allocations: 406 kB / 0.5563 GB, free: 12.59 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.4422, allocations: 3.938 kB / 0.5563 GB, free: 12.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.005069/0.4473, allocations: 1.776 MB / 0.558 GB, free: 10.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.507e-05/0.4473, allocations: 9.516 kB / 0.5581 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.4473, allocations: 7.984 kB / 0.5581 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005142/0.4525, allocations: 1.228 MB / 0.5593 GB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.4529, allocations: 83.88 kB / 0.5593 GB, free: 9.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.4632, allocations: 5.601 MB / 0.5648 GB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006626/0.4639, allocations: 51.52 kB / 0.5649 GB, free: 3.684 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.464, allocations: 23.98 kB / 0.5649 GB, free: 3.66 MB / 378.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 (47): * Single equations (assignments): 46 * 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 {10 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001929/0.4642, allocations: 137.4 kB / 0.565 GB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001364/0.4643, allocations: 67.28 kB / 0.5651 GB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/0.4696, allocations: 1.934 MB / 0.567 GB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.4696, allocations: 8 kB / 0.567 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4696, allocations: 0 / 0.567 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4696, allocations: 11.98 kB / 0.567 GB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006302/0.476, allocations: 2.932 MB / 0.5698 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.476, allocations: 0 / 0.5698 GB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003718/0.4764, allocations: 95.83 kB / 0.5699 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005074/0.4815, allocations: 1.121 MB / 0.571 GB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001425/0.4816, allocations: 15.98 kB / 0.571 GB, free: 13.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009824/0.4915, allocations: 5.559 MB / 0.5765 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4915, allocations: 0 / 0.5765 GB, free: 7.559 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005018/0.4965, allocations: 1.907 MB / 0.5783 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001947/0.4968, allocations: 152.1 kB / 0.5785 GB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.4969, allocations: 16 kB / 0.5785 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005959/0.4975, allocations: 48.34 kB / 0.5785 GB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/0.4977, allocations: 60.69 kB / 0.5786 GB, free: 5.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.057e-05/0.4978, allocations: 23.98 kB / 0.5786 GB, free: 5.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003089/0.4981, allocations: 285.2 kB / 0.5789 GB, free: 5.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4981, allocations: 3.938 kB / 0.5789 GB, free: 5.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000802/0.4989, allocations: 275.8 kB / 0.5792 GB, free: 4.77 MB / 394.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 (56): * Single equations (assignments): 55 * 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 {10 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002512/0.4992, allocations: 158.7 kB / 0.5793 GB, free: 4.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003063/0.5022, allocations: 1.366 MB / 0.5807 GB, free: 3.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.5023, allocations: 0 / 0.5807 GB, free: 3.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002326/0.5046, allocations: 0.9555 MB / 0.5816 GB, free: 2.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.505, allocations: 59.31 kB / 0.5816 GB, free: 2.195 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.5064, allocations: 0.7571 MB / 0.5824 GB, free: 1.422 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.5068, allocations: 0.8937 MB / 0.5833 GB, free: 0.4961 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.5071, allocations: 80.28 kB / 0.5833 GB, free: 428 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.5073, allocations: 55.41 kB / 0.5834 GB, free: 372 kB / 394.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5073, allocations: 0 / 0.5834 GB, free: 372 kB / 394.7 MB Notification: Performance of Templates: time 0.02402/0.5313, allocations: 17.39 MB / 0.6004 GB, free: 15.02 MB / 426.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetwork.pipe 2>&1)