Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.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.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, 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.201/1.201, 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.0008205/0.0008205, allocations: 100 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04062/0.04062, allocations: 8.092 MB / 345.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.835e-05, allocations: 4 kB / 405.5 MB, free: 61.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07243/0.07247, allocations: 52.52 MB / 458 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2815/0.3541, allocations: 81.82 MB / 0.5271 GB, free: 4.254 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001899/0.3543, allocations: 67.97 kB / 0.5272 GB, free: 4.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04828/0.4026, allocations: 19.5 MB / 0.5463 GB, free: 4.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4026, allocations: 1.531 kB / 0.5463 GB, free: 4.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.332e-05/0.4027, allocations: 12 kB / 0.5463 GB, free: 4.605 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.003637/0.4063, allocations: 1.186 MB / 0.5474 GB, free: 3.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.4064, allocations: 8.031 kB / 0.5474 GB, free: 3.465 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.4065, allocations: 75.16 kB / 0.5475 GB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.4071, allocations: 458.4 kB / 0.5479 GB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.4072, allocations: 31.44 kB / 0.548 GB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.963e-05/0.4073, allocations: 46.62 kB / 0.548 GB, free: 2.949 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0011/0.4084, allocations: 0.7603 MB / 0.5488 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4084, allocations: 0 / 0.5488 GB, free: 2.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.4085, allocations: 21.06 kB / 0.5488 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.017e-05/0.4085, allocations: 12 kB / 0.5488 GB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009215/0.4094, allocations: 0.6686 MB / 0.5494 GB, free: 2.055 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.4135, allocations: 3.165 MB / 0.5525 GB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001371/0.4149, allocations: 1.29 MB / 0.5538 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005567/0.4155, allocations: 468.3 kB / 0.5542 GB, free: 14.06 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.4156, allocations: 93.86 kB / 0.5543 GB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.4157, allocations: 50.28 kB / 0.5544 GB, free: 13.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 2.505e-06/0.4157, allocations: 0 / 0.5544 GB, free: 13.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.00463/0.4203, allocations: 1.694 MB / 0.556 GB, free: 12.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.4204, allocations: 111.6 kB / 0.5561 GB, free: 12.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.4208, allocations: 338 kB / 0.5565 GB, free: 12.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.03e-05/0.4208, allocations: 43.7 kB / 0.5565 GB, free: 12.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.421, allocations: 237 kB / 0.5567 GB, free: 12.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001751/0.4212, allocations: 243.5 kB / 0.557 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.4212, allocations: 11.19 kB / 0.557 GB, free: 11.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4213, allocations: 367.8 kB / 0.5573 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.4218, allocations: 351.3 kB / 0.5577 GB, free: 11.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.4224, allocations: 407.1 kB / 0.558 GB, free: 10.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000569/0.423, allocations: 394 kB / 0.5584 GB, free: 10.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.423, allocations: 0 / 0.5584 GB, free: 10.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00467/0.4277, allocations: 1.733 MB / 0.5601 GB, free: 8.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4277, allocations: 8 kB / 0.5601 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.4277, allocations: 0 / 0.5601 GB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004874/0.4326, allocations: 1.22 MB / 0.5613 GB, free: 7.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.433, allocations: 83.88 kB / 0.5614 GB, free: 7.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009468/0.4424, allocations: 5.322 MB / 0.5666 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000641/0.4431, allocations: 55.52 kB / 0.5666 GB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.4432, allocations: 23.98 kB / 0.5667 GB, free: 1.82 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.0001824/0.4434, allocations: 133.4 kB / 0.5668 GB, free: 1.684 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.4435, allocations: 59.34 kB / 0.5668 GB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/0.4486, allocations: 1.891 MB / 0.5687 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.304e-05/0.4487, allocations: 15.98 kB / 0.5687 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.4487, allocations: 0 / 0.5687 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.4487, allocations: 3.984 kB / 0.5687 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00619/0.4549, allocations: 2.866 MB / 0.5715 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.4549, allocations: 0 / 0.5715 GB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.4553, allocations: 95.83 kB / 0.5716 GB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004738/0.46, allocations: 1.109 MB / 0.5727 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.879e-05/0.4601, allocations: 16 kB / 0.5727 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009124/0.4692, allocations: 5.255 MB / 0.5778 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.4693, allocations: 7.938 kB / 0.5778 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/0.4742, allocations: 1.868 MB / 0.5797 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001882/0.4744, allocations: 148.2 kB / 0.5798 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.496e-05/0.4745, allocations: 23.94 kB / 0.5798 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005829/0.4751, allocations: 43.97 kB / 0.5799 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.4753, allocations: 64.69 kB / 0.5799 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.4753, allocations: 27.98 kB / 0.58 GB, free: 3.938 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003239/0.4757, allocations: 273.2 kB / 0.5802 GB, free: 3.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4757, allocations: 0 / 0.5802 GB, free: 3.672 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008117/0.4765, allocations: 291.7 kB / 0.5805 GB, free: 3.387 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 (55): * Single equations (assignments): 54 * 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.0002465/0.4768, allocations: 150.9 kB / 0.5806 GB, free: 3.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.4798, allocations: 1.327 MB / 0.5819 GB, free: 1.883 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.4798, allocations: 3.938 kB / 0.5819 GB, free: 1.879 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002334/0.4821, allocations: 0.9321 MB / 0.5829 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.4826, allocations: 63.39 kB / 0.5829 GB, free: 0.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.484, allocations: 0.7648 MB / 0.5837 GB, free: 92 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.4845, allocations: 0.9006 MB / 0.5845 GB, free: 15.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002812/0.4847, allocations: 68.36 kB / 0.5846 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.4849, allocations: 55.41 kB / 0.5847 GB, free: 15.04 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.4849, allocations: 4 kB / 0.5847 GB, free: 15.04 MB / 410.7 MB Notification: Performance of Templates: time 0.02329/0.5082, allocations: 16.69 MB / 0.601 GB, free: 14.39 MB / 426.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVLVNetworkWithBuses.pipe 2>&1)