Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.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.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork") [: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.002765/0.002764, allocations: 190.8 kB / 7.841 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.4 MB / 229.7 MB, free: 3.059 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.0009889/0.0009886, allocations: 94.69 kB / 280.5 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05369/0.05369, allocations: 8.097 MB / 339.4 MB, free: 6.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.488e-06/9.518e-06, allocations: 4 kB / 397.9 MB, free: 68.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09169/0.09172, allocations: 52.52 MB / 450.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4403, allocations: 78.97 MB / 0.517 GB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4406, allocations: 67.09 kB / 0.517 GB, free: 15.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03039/0.471, allocations: 10.82 MB / 0.5276 GB, free: 6.855 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.471, allocations: 4 kB / 0.5276 GB, free: 6.852 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: 70 * Number of variables: 70 Notification: Performance of Generate backend data structure: time 0.00228/0.4733, allocations: 0.7906 MB / 0.5284 GB, free: 6.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.4734, allocations: 11.97 kB / 0.5284 GB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001551/0.4735, allocations: 47.44 kB / 0.5285 GB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005051/0.4741, allocations: 323.5 kB / 0.5288 GB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.4741, allocations: 15.91 kB / 0.5288 GB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.215e-05/0.4741, allocations: 16 kB / 0.5288 GB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005973/0.4748, allocations: 371.1 kB / 0.5291 GB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/0.4753, allocations: 362.1 kB / 0.5295 GB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.4754, allocations: 4 kB / 0.5295 GB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.4754, allocations: 0 / 0.5295 GB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.4754, allocations: 8 kB / 0.5295 GB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002364/0.4778, allocations: 1.481 MB / 0.5309 GB, free: 3.961 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.4783, allocations: 393.7 kB / 0.5313 GB, free: 3.715 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.4786, allocations: 227.9 kB / 0.5315 GB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/0.4788, allocations: 100.3 kB / 0.5316 GB, free: 3.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.4789, allocations: 37.88 kB / 0.5317 GB, free: 3.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 1.834e-06/0.4789, allocations: 0 / 0.5317 GB, free: 3.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.002423/0.4813, allocations: 0.7722 MB / 0.5324 GB, free: 2.848 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.4814, allocations: 59.34 kB / 0.5325 GB, free: 2.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.4816, allocations: 211.8 kB / 0.5327 GB, free: 2.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.4817, allocations: 25.7 kB / 0.5327 GB, free: 2.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.4818, allocations: 143.6 kB / 0.5328 GB, free: 2.438 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.4819, allocations: 140 kB / 0.533 GB, free: 2.316 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.4819, allocations: 4 kB / 0.533 GB, free: 2.312 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.482, allocations: 345 kB / 0.5333 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002542/0.4823, allocations: 163.1 kB / 0.5335 GB, free: 1.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.4825, allocations: 158.2 kB / 0.5336 GB, free: 1.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005865/0.4831, allocations: 225.5 kB / 0.5338 GB, free: 1.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.4831, allocations: 0 / 0.5338 GB, free: 1.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.002232/0.4854, allocations: 0.7599 MB / 0.5346 GB, free: 1.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4854, allocations: 4 kB / 0.5346 GB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4854, allocations: 0 / 0.5346 GB, free: 1.094 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001821/0.4873, allocations: 361.3 kB / 0.5349 GB, free: 0.8008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.4875, allocations: 51.89 kB / 0.535 GB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006026/0.4935, allocations: 5.097 MB / 0.54 GB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.4938, allocations: 19.69 kB / 0.54 GB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.523e-05/0.4939, allocations: 15.92 kB / 0.54 GB, free: 12.01 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 (29): * Single equations (assignments): 26 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.494, allocations: 113 kB / 0.5401 GB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.564e-05/0.4941, allocations: 39.53 kB / 0.5401 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00249/0.4966, allocations: 0.8667 MB / 0.541 GB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/0.4966, allocations: 7.984 kB / 0.541 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.4966, allocations: 0 / 0.541 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4967, allocations: 4 kB / 0.541 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.4972, allocations: 483 kB / 0.5414 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4972, allocations: 0 / 0.5414 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.4975, allocations: 59.89 kB / 0.5415 GB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.4992, allocations: 363.1 kB / 0.5419 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.078e-05/0.4992, allocations: 7.172 kB / 0.5419 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00612/0.5054, allocations: 5.09 MB / 0.5468 GB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5054, allocations: 0 / 0.5468 GB, free: 5.738 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002474/0.5079, allocations: 0.896 MB / 0.5477 GB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.5081, allocations: 120.3 kB / 0.5478 GB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.912e-05/0.5081, allocations: 0 / 0.5478 GB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.5085, allocations: 31.97 kB / 0.5479 GB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.699e-05/0.5086, allocations: 20.39 kB / 0.5479 GB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.5086, allocations: 19.88 kB / 0.5479 GB, free: 4.832 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001714/0.5088, allocations: 167 kB / 0.548 GB, free: 4.699 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006619/0.5095, allocations: 138.8 kB / 0.5482 GB, free: 4.566 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 (36): * Single equations (assignments): 33 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002395/0.5097, allocations: 111.2 kB / 0.5483 GB, free: 4.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.5117, allocations: 0.8295 MB / 0.5491 GB, free: 3.777 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.5117, allocations: 0 / 0.5491 GB, free: 3.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/0.5133, allocations: 0.6433 MB / 0.5497 GB, free: 3.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004964/0.5138, allocations: 33.31 kB / 0.5498 GB, free: 3.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.5154, allocations: 471.8 kB / 0.5502 GB, free: 2.781 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005584/0.5159, allocations: 0.8357 MB / 0.551 GB, free: 1.926 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.516, allocations: 0 / 0.551 GB, free: 1.926 MB / 362.7 MB Notification: Performance of Templates: time 0.01512/0.5311, allocations: 8.619 MB / 0.5594 GB, free: 9.391 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.LVPartOfMVLVNetwork.pipe 2>&1)