Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.MediumNetworks.Network,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network",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.001103/0.001103, allocations: 189.6 kB / 7.842 MB, free: 2.496 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.197/1.197, allocations: 221.4 MB / 229.7 MB, free: 3.07 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.0009256/0.0009257, allocations: 80.3 kB / 280.5 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03408/0.03408, allocations: 8.09 MB / 339.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.164/0.1981, allocations: 58.63 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07637/0.2745, allocations: 52.51 MB / 450.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2434/0.5179, allocations: 80.74 MB / 0.5188 GB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.5181, allocations: 70.02 kB / 0.5189 GB, free: 13.32 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.05786/0.576, allocations: 22.21 MB / 0.5406 GB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.576, allocations: 11.94 kB / 0.5406 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001827/0.5762, allocations: 83.06 kB / 0.5407 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.5769, allocations: 471.1 kB / 0.5411 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.577, allocations: 24.88 kB / 0.5411 GB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.5771, allocations: 28 kB / 0.5412 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001089/0.5782, allocations: 0.7449 MB / 0.5419 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.5793, allocations: 0.7564 MB / 0.5426 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.5793, allocations: 0 / 0.5426 GB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.807e-05/0.5794, allocations: 4 kB / 0.5426 GB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.5794, allocations: 12 kB / 0.5426 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004724/0.5842, allocations: 3.475 MB / 0.546 GB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.5853, allocations: 0.8623 MB / 0.5469 GB, free: 7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006987/0.586, allocations: 0.5456 MB / 0.5474 GB, free: 6.719 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.5862, allocations: 109.5 kB / 0.5475 GB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/0.5863, allocations: 42.53 kB / 0.5475 GB, free: 6.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=88): time 2.725e-06/0.5863, allocations: 0 / 0.5475 GB, free: 6.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.006899/0.5932, allocations: 2.087 MB / 0.5496 GB, free: 4.758 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.5933, allocations: 115.6 kB / 0.5497 GB, free: 4.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004007/0.5937, allocations: 325.2 kB / 0.55 GB, free: 4.301 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.424e-05/0.5938, allocations: 29.7 kB / 0.55 GB, free: 4.266 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.5939, allocations: 177.3 kB / 0.5502 GB, free: 4.086 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002509/0.5941, allocations: 287.6 kB / 0.5505 GB, free: 3.801 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.5942, allocations: 0 / 0.5505 GB, free: 3.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.5944, allocations: 370.8 kB / 0.5508 GB, free: 3.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006827/0.5951, allocations: 437.5 kB / 0.5512 GB, free: 3.004 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.5958, allocations: 497.5 kB / 0.5517 GB, free: 2.512 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/0.5973, allocations: 0.5237 MB / 0.5522 GB, free: 1.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5973, allocations: 0 / 0.5522 GB, free: 1.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.006857/0.6042, allocations: 2.122 MB / 0.5543 GB, free: 15.85 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.6042, allocations: 4 kB / 0.5543 GB, free: 15.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.6042, allocations: 4 kB / 0.5543 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006383/0.6106, allocations: 1.307 MB / 0.5556 GB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.6111, allocations: 99.81 kB / 0.5557 GB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.6234, allocations: 5.905 MB / 0.5615 GB, free: 8.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007544/0.6242, allocations: 43.42 kB / 0.5615 GB, free: 8.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.538e-05/0.6243, allocations: 31.98 kB / 0.5615 GB, free: 8.332 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real 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 (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 {12 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002568/0.6246, allocations: 118.4 kB / 0.5616 GB, free: 8.211 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.6247, allocations: 71.16 kB / 0.5617 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007184/0.6319, allocations: 2.31 MB / 0.564 GB, free: 5.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.6319, allocations: 8 kB / 0.564 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.632, allocations: 0 / 0.564 GB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.632, allocations: 3.984 kB / 0.564 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001331/0.6333, allocations: 1.025 MB / 0.565 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6333, allocations: 0 / 0.565 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004156/0.6337, allocations: 107.9 kB / 0.5651 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006365/0.6401, allocations: 1.316 MB / 0.5664 GB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.835e-05/0.6402, allocations: 7.984 kB / 0.5664 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/0.6525, allocations: 5.962 MB / 0.5722 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6525, allocations: 0 / 0.5722 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007006/0.6595, allocations: 2.258 MB / 0.5744 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007288/0.6668, allocations: 2.633 MB / 0.577 GB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.6671, allocations: 156 kB / 0.5771 GB, free: 8.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001453/0.6672, allocations: 3.906 kB / 0.5771 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007178/0.668, allocations: 47.95 kB / 0.5772 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.6681, allocations: 48.92 kB / 0.5772 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.6682, allocations: 31.98 kB / 0.5772 GB, free: 7.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003151/0.6685, allocations: 259.2 kB / 0.5775 GB, free: 7.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001489/0.67, allocations: 279.8 kB / 0.5778 GB, free: 7.465 MB / 394.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 (65): * Single equations (assignments): 64 * 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 {12 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002411/0.6703, allocations: 115.2 kB / 0.5779 GB, free: 7.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003798/0.6741, allocations: 1.504 MB / 0.5793 GB, free: 5.82 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.6741, allocations: 3.906 kB / 0.5793 GB, free: 5.816 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002841/0.6769, allocations: 1.019 MB / 0.5803 GB, free: 4.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004908/0.6774, allocations: 53.94 kB / 0.5804 GB, free: 4.734 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.6799, allocations: 0.907 MB / 0.5813 GB, free: 3.797 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000687/0.6806, allocations: 0.9796 MB / 0.5822 GB, free: 2.789 MB / 394.7 MB Notification: Performance of SimCode: time 6.01e-07/0.6806, allocations: 7.875 kB / 0.5822 GB, free: 2.781 MB / 394.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_MediumNetworks_Network.fmu > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)