Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.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.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") translateModel(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork") [: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.001199/0.001199, allocations: 183.2 kB / 7.842 MB, free: 92 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.535/1.535, allocations: 221.4 MB / 229.6 MB, free: 7.66 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.001087/0.001086, allocations: 89.72 kB / 280.5 MB, free: 5.191 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04381/0.04381, allocations: 8.096 MB / 339.4 MB, free: 10.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/6.993e-06, allocations: 4 kB / 397.9 MB, free: 71.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09161, allocations: 52.51 MB / 450.4 MB, free: 19.25 MB / 302.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3083/0.4, allocations: 79.74 MB / 0.5177 GB, free: 5.238 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/0.4003, allocations: 68.22 kB / 0.5178 GB, free: 5.207 MB / 334.1 MB Notification: Performance of FrontEnd: time 0.02609/0.4264, allocations: 9.809 MB / 0.5274 GB, free: 13.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.4265, allocations: 4.75 kB / 0.5274 GB, free: 13.62 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00244/0.4289, allocations: 0.7682 MB / 0.5281 GB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.429, allocations: 11.97 kB / 0.5281 GB, free: 12.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.4292, allocations: 31.62 kB / 0.5282 GB, free: 12.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.4296, allocations: 277.8 kB / 0.5284 GB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4297, allocations: 4 kB / 0.5284 GB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.905e-05/0.4297, allocations: 16 kB / 0.5285 GB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005329/0.4303, allocations: 289.4 kB / 0.5287 GB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005567/0.4308, allocations: 351.8 kB / 0.5291 GB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.4309, allocations: 0 / 0.5291 GB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.4309, allocations: 1.75 kB / 0.5291 GB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.4309, allocations: 8 kB / 0.5291 GB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002572/0.4335, allocations: 1.488 MB / 0.5305 GB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004666/0.434, allocations: 316.2 kB / 0.5308 GB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002546/0.4342, allocations: 160.3 kB / 0.531 GB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001861/0.4344, allocations: 89.33 kB / 0.5311 GB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.4345, allocations: 38.3 kB / 0.5311 GB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.084e-06/0.4345, allocations: 0 / 0.5311 GB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=28): time 0.002516/0.437, allocations: 0.6852 MB / 0.5318 GB, free: 9.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.4371, allocations: 110.8 kB / 0.5319 GB, free: 9.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002198/0.4373, allocations: 189.8 kB / 0.5321 GB, free: 9.551 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.4374, allocations: 25.7 kB / 0.5321 GB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.4375, allocations: 142.3 kB / 0.5322 GB, free: 9.387 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.737e-05/0.4376, allocations: 89.53 kB / 0.5323 GB, free: 9.309 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.233e-05/0.4376, allocations: 0 / 0.5323 GB, free: 9.309 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.4378, allocations: 337.2 kB / 0.5326 GB, free: 8.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.438, allocations: 143.7 kB / 0.5328 GB, free: 8.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.4383, allocations: 188.7 kB / 0.533 GB, free: 8.789 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.4388, allocations: 182.4 kB / 0.5331 GB, free: 8.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4388, allocations: 0 / 0.5331 GB, free: 8.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002431/0.4413, allocations: 0.7321 MB / 0.5338 GB, free: 8.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4413, allocations: 4 kB / 0.5338 GB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4413, allocations: 11.98 kB / 0.5339 GB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002225/0.4436, allocations: 404.9 kB / 0.5342 GB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.4438, allocations: 47.78 kB / 0.5343 GB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005582/0.4494, allocations: 3.665 MB / 0.5379 GB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.4498, allocations: 23.77 kB / 0.5379 GB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.295e-05/0.4498, allocations: 11.88 kB / 0.5379 GB, free: 4.371 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001455/0.45, allocations: 113 kB / 0.538 GB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.578e-05/0.4501, allocations: 31.56 kB / 0.538 GB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002565/0.4527, allocations: 0.7737 MB / 0.5388 GB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4527, allocations: 4 kB / 0.5388 GB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.515e-06/0.4527, allocations: 0 / 0.5388 GB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.4527, allocations: 3.984 kB / 0.5388 GB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.4533, allocations: 420.8 kB / 0.5392 GB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4533, allocations: 4 kB / 0.5392 GB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.4535, allocations: 39.97 kB / 0.5392 GB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/0.4555, allocations: 414.4 kB / 0.5396 GB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.4556, allocations: 8 kB / 0.5396 GB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005145/0.4607, allocations: 3.658 MB / 0.5432 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4608, allocations: 3.938 kB / 0.5432 GB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002442/0.4632, allocations: 0.8135 MB / 0.544 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.4633, allocations: 108.3 kB / 0.5441 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.102e-05/0.4634, allocations: 3.984 kB / 0.5441 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002876/0.4637, allocations: 8 kB / 0.5441 GB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.4638, allocations: 15.97 kB / 0.5441 GB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.4638, allocations: 10.56 kB / 0.5442 GB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 0.0001322/0.4639, allocations: 146.9 kB / 0.5443 GB, free: 14.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005681/0.4645, allocations: 107.7 kB / 0.5444 GB, free: 14.54 MB / 366.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 (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002478/0.4648, allocations: 119.2 kB / 0.5445 GB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.4667, allocations: 0.6721 MB / 0.5452 GB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4667, allocations: 3.938 kB / 0.5452 GB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.4681, allocations: 0.5013 MB / 0.5457 GB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4683, allocations: 11.12 kB / 0.5457 GB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4694, allocations: 349.2 kB / 0.546 GB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004465/0.4699, allocations: 0.7992 MB / 0.5468 GB, free: 12.3 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4699, allocations: 0 / 0.5468 GB, free: 12.3 MB / 366.1 MB Notification: Performance of Templates: time 0.0114/0.4813, allocations: 5.689 MB / 0.5523 GB, free: 6.645 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)