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: "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork",fmuType="me",version="2.0",platforms={"static"}) [: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.001061/0.001061, allocations: 185.4 kB / 7.843 MB, free: 2.5 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.198/1.198, allocations: 221.4 MB / 229.7 MB, free: 3.031 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.0009739/0.0009739, allocations: 97.59 kB / 280.5 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03466/0.03466, allocations: 8.093 MB / 339.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.176/0.2107, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0817/0.2924, allocations: 52.53 MB / 450.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2475/0.54, allocations: 80.06 MB / 0.5181 GB, free: 14.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.5402, allocations: 70.16 kB / 0.5182 GB, free: 14.31 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.02722/0.5675, allocations: 10.58 MB / 0.5285 GB, free: 5.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.5675, allocations: 11.94 kB / 0.5286 GB, free: 5.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001118/0.5676, allocations: 35.38 kB / 0.5286 GB, free: 5.918 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003724/0.568, allocations: 284.1 kB / 0.5289 GB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5681, allocations: 8 kB / 0.5289 GB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.473e-05/0.5681, allocations: 12 kB / 0.5289 GB, free: 5.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005174/0.5686, allocations: 292.2 kB / 0.5292 GB, free: 5.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000508/0.5691, allocations: 343.8 kB / 0.5295 GB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.5692, allocations: 0 / 0.5295 GB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.5692, allocations: 3.984 kB / 0.5295 GB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.5692, allocations: 4 kB / 0.5295 GB, free: 5.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/0.5713, allocations: 1.481 MB / 0.5309 GB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.5718, allocations: 315.9 kB / 0.5312 GB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.572, allocations: 167.5 kB / 0.5314 GB, free: 3.605 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001535/0.5722, allocations: 89.33 kB / 0.5315 GB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.5722, allocations: 34.42 kB / 0.5315 GB, free: 3.461 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 8.987e-06/0.5722, allocations: 0 / 0.5315 GB, free: 3.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.002364/0.5746, allocations: 0.693 MB / 0.5322 GB, free: 2.941 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.12e-05/0.5746, allocations: 102.8 kB / 0.5323 GB, free: 2.816 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.5748, allocations: 185.5 kB / 0.5325 GB, free: 2.656 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.5749, allocations: 25.7 kB / 0.5325 GB, free: 2.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.692e-05/0.575, allocations: 141.8 kB / 0.5326 GB, free: 2.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.575, allocations: 95.16 kB / 0.5327 GB, free: 2.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.161e-05/0.5751, allocations: 0 / 0.5327 GB, free: 2.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.5752, allocations: 332.2 kB / 0.533 GB, free: 2.086 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.5754, allocations: 151.9 kB / 0.5332 GB, free: 2.008 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.5756, allocations: 184.5 kB / 0.5334 GB, free: 1.891 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.5761, allocations: 188.6 kB / 0.5335 GB, free: 1.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5761, allocations: 0 / 0.5335 GB, free: 1.773 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.002307/0.5784, allocations: 0.725 MB / 0.5343 GB, free: 1.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.5785, allocations: 12 kB / 0.5343 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5785, allocations: 0 / 0.5343 GB, free: 1.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/0.5806, allocations: 416.5 kB / 0.5347 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.5809, allocations: 31.98 kB / 0.5347 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005304/0.5862, allocations: 3.682 MB / 0.5383 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003035/0.5865, allocations: 19.75 kB / 0.5383 GB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.126e-05/0.5865, allocations: 15.73 kB / 0.5383 GB, free: 13.46 MB / 362.7 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.0001262/0.5867, allocations: 110.6 kB / 0.5384 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/0.5868, allocations: 31.56 kB / 0.5385 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002461/0.5892, allocations: 0.7774 MB / 0.5392 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5892, allocations: 0 / 0.5392 GB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5893, allocations: 4 kB / 0.5392 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.5893, allocations: 0 / 0.5392 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.5897, allocations: 428.6 kB / 0.5396 GB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5898, allocations: 4 kB / 0.5396 GB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.5899, allocations: 47.89 kB / 0.5397 GB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/0.592, allocations: 406.6 kB / 0.5401 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.592, allocations: 0 / 0.5401 GB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004866/0.5969, allocations: 3.662 MB / 0.5436 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5969, allocations: 0 / 0.5436 GB, free: 8.668 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002327/0.5992, allocations: 0.8085 MB / 0.5444 GB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003008/0.6023, allocations: 1.666 MB / 0.5461 GB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.07e-05/0.6024, allocations: 100.8 kB / 0.5462 GB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.406e-05/0.6024, allocations: 0 / 0.5462 GB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.6027, allocations: 16.05 kB / 0.5462 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.204e-05/0.6028, allocations: 22.31 kB / 0.5462 GB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.6028, allocations: 11.25 kB / 0.5462 GB, free: 6.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001285/0.603, allocations: 150.2 kB / 0.5463 GB, free: 6.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001065/0.6041, allocations: 106.7 kB / 0.5464 GB, free: 6.395 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 (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.0002104/0.6043, allocations: 121 kB / 0.5466 GB, free: 6.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001738/0.606, allocations: 0.6636 MB / 0.5472 GB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.606, allocations: 0 / 0.5472 GB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.6074, allocations: 0.5111 MB / 0.5477 GB, free: 5.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.6076, allocations: 14.92 kB / 0.5477 GB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.6086, allocations: 370.3 kB / 0.5481 GB, free: 4.957 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.609, allocations: 0.799 MB / 0.5489 GB, free: 4.137 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.609, allocations: 0 / 0.5489 GB, free: 4.137 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_ExampleWithFMUs_MVPartOfMVLVNetwork.fmu > PowerSysPro_PowerSysPro.Examples.ExampleWithFMUs.MVPartOfMVLVNetwork.pipe 2>&1)