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.0016/0.0016, allocations: 179.4 kB / 15.8 MB, free: 6.34 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.411/1.411, allocations: 223.2 MB / 239.7 MB, free: 1.797 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.0009138/0.0009133, allocations: 106.1 kB / 290.9 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04452/0.04452, allocations: 8.098 MB / 350.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 16.92 kB / 413.1 MB, free: 89.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1036, allocations: 52.53 MB / 465.6 MB, free: 42.06 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3189/0.4225, allocations: 80.95 MB / 0.5338 GB, free: 16.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.4228, allocations: 70.27 kB / 0.5338 GB, free: 16.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04209/0.4649, allocations: 18.4 MB / 0.5518 GB, free: 30.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.4649, allocations: 4 kB / 0.5518 GB, free: 30.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.901e-05/0.4649, allocations: 11.69 kB / 0.5518 GB, free: 30.86 MB / 378.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.003943/0.4689, allocations: 1.246 MB / 0.553 GB, free: 30.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.4689, allocations: 12.25 kB / 0.553 GB, free: 30.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003096/0.4693, allocations: 67.38 kB / 0.5531 GB, free: 30.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008861/0.4702, allocations: 451.7 kB / 0.5535 GB, free: 30 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.491e-05/0.4702, allocations: 31.88 kB / 0.5536 GB, free: 30 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.4703, allocations: 45.16 kB / 0.5536 GB, free: 29.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/0.4715, allocations: 0.7084 MB / 0.5543 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.4716, allocations: 0 / 0.5543 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.4716, allocations: 22.97 kB / 0.5543 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4717, allocations: 9.938 kB / 0.5543 GB, free: 29.92 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.4727, allocations: 0.6585 MB / 0.555 GB, free: 29.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003949/0.4766, allocations: 3.068 MB / 0.558 GB, free: 28.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.4778, allocations: 1.081 MB / 0.559 GB, free: 28.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/0.478, allocations: 96.97 kB / 0.5591 GB, free: 28 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.478, allocations: 42.34 kB / 0.5592 GB, free: 27.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=73): time 2.475e-06/0.4781, allocations: 3.938 kB / 0.5592 GB, free: 27.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=73): time 0.01114/0.4892, allocations: 3.131 MB / 0.5622 GB, free: 27.69 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.4893, allocations: 115.3 kB / 0.5623 GB, free: 27.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.4898, allocations: 350.7 kB / 0.5627 GB, free: 27.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.18e-05/0.4899, allocations: 39.77 kB / 0.5627 GB, free: 27.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.49, allocations: 220.9 kB / 0.5629 GB, free: 27.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.4902, allocations: 250.9 kB / 0.5632 GB, free: 27.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.529e-05/0.4903, allocations: 12.47 kB / 0.5632 GB, free: 27.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.4904, allocations: 367.3 kB / 0.5635 GB, free: 26.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.491, allocations: 377.8 kB / 0.5639 GB, free: 26.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/0.4915, allocations: 441 kB / 0.5643 GB, free: 26.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005748/0.4921, allocations: 414.5 kB / 0.5647 GB, free: 26.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.4921, allocations: 0 / 0.5647 GB, free: 26.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004836/0.497, allocations: 1.783 MB / 0.5664 GB, free: 26.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.497, allocations: 12.61 kB / 0.5664 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.497, allocations: 0 / 0.5664 GB, free: 26.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005055/0.5021, allocations: 1.233 MB / 0.5677 GB, free: 26.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.5025, allocations: 84.69 kB / 0.5677 GB, free: 26.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0114/0.5139, allocations: 5.864 MB / 0.5735 GB, free: 24.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008397/0.5148, allocations: 53.27 kB / 0.5735 GB, free: 24.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.515, allocations: 25.52 kB / 0.5735 GB, free: 24.76 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 () * Number of clocked 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.0004661/0.5155, allocations: 179.2 kB / 0.5737 GB, free: 24.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001753/0.5156, allocations: 65.17 kB / 0.5738 GB, free: 24.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005473/0.5211, allocations: 1.96 MB / 0.5757 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.5211, allocations: 7.406 kB / 0.5757 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.5212, allocations: 4.938 kB / 0.5757 GB, free: 24.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.5212, allocations: 3.984 kB / 0.5757 GB, free: 24.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006547/0.5277, allocations: 2.962 MB / 0.5786 GB, free: 23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.5278, allocations: 0 / 0.5786 GB, free: 23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.5281, allocations: 99.97 kB / 0.5787 GB, free: 22.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004844/0.533, allocations: 1.121 MB / 0.5798 GB, free: 22.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001508/0.5332, allocations: 14.62 kB / 0.5798 GB, free: 22.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009617/0.5428, allocations: 5.826 MB / 0.5855 GB, free: 19.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5428, allocations: 3.953 kB / 0.5855 GB, free: 19.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004909/0.5477, allocations: 1.928 MB / 0.5874 GB, free: 18.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.548, allocations: 155.4 kB / 0.5875 GB, free: 18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.5482, allocations: 8 kB / 0.5875 GB, free: 17.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.5488, allocations: 46.75 kB / 0.5876 GB, free: 17.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/0.549, allocations: 68.05 kB / 0.5876 GB, free: 17.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.5491, allocations: 27.59 kB / 0.5877 GB, free: 17.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003985/0.5495, allocations: 287.2 kB / 0.5879 GB, free: 17.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5495, allocations: 0 / 0.5879 GB, free: 17.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001033/0.5506, allocations: 275 kB / 0.5882 GB, free: 17.71 MB / 378.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 () * Number of clocked 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.0002928/0.5509, allocations: 144.6 kB / 0.5883 GB, free: 17.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003141/0.554, allocations: 1.391 MB / 0.5897 GB, free: 16.81 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.84e-06/0.554, allocations: 3.875 kB / 0.5897 GB, free: 16.81 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.5562, allocations: 0.9772 MB / 0.5907 GB, free: 16.24 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/0.5567, allocations: 62.58 kB / 0.5907 GB, free: 16.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.5585, allocations: 1.259 MB / 0.5919 GB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.559, allocations: 0.8928 MB / 0.5928 GB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002943/0.5593, allocations: 75.41 kB / 0.5929 GB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.5594, allocations: 54.5 kB / 0.5929 GB, free: 14.48 MB / 378.7 MB Notification: Performance of SimCode: time 7.71e-07/0.5594, allocations: 3.938 kB / 0.5929 GB, free: 14.48 MB / 378.7 MB Notification: Performance of Templates: time 0.0248/0.5842, allocations: 17.33 MB / 0.6099 GB, free: 5.18 MB / 378.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)