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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 192.1 kB / 7.844 MB, free: 100 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.4 MB / 229.6 MB, free: 7.688 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009779/0.0009781, allocations: 87.91 kB / 280.5 MB, free: 5.148 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06099/0.06099, allocations: 8.104 MB / 339.4 MB, free: 10.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 7.655e-06/7.674e-06, allocations: 0 / 397.9 MB, free: 71.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09679/0.09682, allocations: 52.52 MB / 450.4 MB, free: 19.28 MB / 302.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/0.4067, allocations: 80.14 MB / 0.5181 GB, free: 4.914 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.407, allocations: 67.97 kB / 0.5182 GB, free: 4.879 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.0499/0.4569, allocations: 17.78 MB / 0.5356 GB, free: 7.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.389e-05/0.457, allocations: 16.12 kB / 0.5356 GB, free: 7.113 MB / 350.1 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.004715/0.4618, allocations: 1.197 MB / 0.5367 GB, free: 5.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/0.4618, allocations: 12.03 kB / 0.5368 GB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003615/0.4622, allocations: 71.16 kB / 0.5368 GB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009757/0.4632, allocations: 423.5 kB / 0.5372 GB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.407e-05/0.4632, allocations: 12 kB / 0.5372 GB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000167/0.4634, allocations: 24 kB / 0.5373 GB, free: 5.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001231/0.4646, allocations: 0.6283 MB / 0.5379 GB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.4658, allocations: 0.6403 MB / 0.5385 GB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4658, allocations: 0 / 0.5385 GB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.046e-05/0.4659, allocations: 8 kB / 0.5385 GB, free: 4.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.4659, allocations: 8 kB / 0.5385 GB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004527/0.4704, allocations: 2.98 MB / 0.5414 GB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009878/0.4714, allocations: 0.7112 MB / 0.5421 GB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/0.4721, allocations: 457.6 kB / 0.5426 GB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002254/0.4723, allocations: 97.73 kB / 0.5426 GB, free: 1.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.4724, allocations: 45.78 kB / 0.5427 GB, free: 1.332 MB / 350.1 MB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/0.4724, allocations: 0 / 0.5427 GB, free: 1.332 MB / 350.1 MB Notification: Performance of matching and sorting (n=72): time 0.006006/0.4784, allocations: 1.757 MB / 0.5444 GB, free: 52 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.972e-05/0.4785, allocations: 115.4 kB / 0.5445 GB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004052/0.4789, allocations: 295.3 kB / 0.5448 GB, free: 15.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.577e-05/0.479, allocations: 25.7 kB / 0.5448 GB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4791, allocations: 163.7 kB / 0.545 GB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002542/0.4794, allocations: 230.9 kB / 0.5452 GB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-05/0.4795, allocations: 0 / 0.5452 GB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.4796, allocations: 366.8 kB / 0.5455 GB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005493/0.4802, allocations: 357.2 kB / 0.5459 GB, free: 14.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005901/0.4808, allocations: 418.4 kB / 0.5463 GB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.4821, allocations: 451.8 kB / 0.5467 GB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4821, allocations: 0 / 0.5467 GB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006129/0.4882, allocations: 1.795 MB / 0.5485 GB, free: 12.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.4883, allocations: 4.938 kB / 0.5485 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.4883, allocations: 0 / 0.5485 GB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005818/0.4941, allocations: 1.098 MB / 0.5496 GB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/0.4947, allocations: 87.88 kB / 0.5496 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/0.5078, allocations: 5.086 MB / 0.5546 GB, free: 6.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009334/0.5088, allocations: 43.52 kB / 0.5546 GB, free: 6.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001857/0.509, allocations: 27.98 kB / 0.5547 GB, free: 6.184 MB / 366.1 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.0003255/0.5094, allocations: 108.9 kB / 0.5548 GB, free: 6.07 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.5096, allocations: 59.25 kB / 0.5548 GB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006476/0.5161, allocations: 1.914 MB / 0.5567 GB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.5161, allocations: 8 kB / 0.5567 GB, free: 4.074 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5162, allocations: 3.984 kB / 0.5567 GB, free: 4.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.5162, allocations: 3.984 kB / 0.5567 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001486/0.5177, allocations: 0.8687 MB / 0.5576 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.112e-06/0.5177, allocations: 0 / 0.5576 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/0.5181, allocations: 91.89 kB / 0.5576 GB, free: 3.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005715/0.5239, allocations: 1.106 MB / 0.5587 GB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001164/0.524, allocations: 7.984 kB / 0.5587 GB, free: 1.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/0.5361, allocations: 5.078 MB / 0.5637 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.926e-06/0.5362, allocations: 0 / 0.5637 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006737/0.543, allocations: 1.897 MB / 0.5655 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002703/0.5433, allocations: 132.3 kB / 0.5657 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.5434, allocations: 3.984 kB / 0.5657 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/0.5441, allocations: 35.97 kB / 0.5657 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.5443, allocations: 40.72 kB / 0.5658 GB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.501e-05/0.5444, allocations: 31.89 kB / 0.5658 GB, free: 10.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 0.0003045/0.5447, allocations: 235.2 kB / 0.566 GB, free: 10.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009621/0.5456, allocations: 227.8 kB / 0.5662 GB, free: 10.12 MB / 382.1 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.0002975/0.5459, allocations: 119 kB / 0.5663 GB, free: 9.996 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003533/0.5495, allocations: 1.266 MB / 0.5676 GB, free: 8.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5495, allocations: 4 kB / 0.5676 GB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002652/0.5522, allocations: 0.8666 MB / 0.5684 GB, free: 7.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.5527, allocations: 41.42 kB / 0.5685 GB, free: 7.789 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.5551, allocations: 0.7527 MB / 0.5692 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007338/0.5558, allocations: 0.9305 MB / 0.5701 GB, free: 6.051 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5558, allocations: 0 / 0.5701 GB, free: 6.051 MB / 382.1 MB Notification: Performance of Templates: time 0.02914/0.585, allocations: 16.28 MB / 0.586 GB, free: 5.824 MB / 398.1 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)