Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads",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.001064/0.001064, allocations: 184.5 kB / 7.845 MB, free: 2.219 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.188/1.188, allocations: 221.4 MB / 229.7 MB, free: 3.012 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.001028/0.001028, allocations: 90.95 kB / 280.5 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03679/0.03679, allocations: 8.099 MB / 339.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1857/0.2225, allocations: 58.61 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08469/0.3072, allocations: 52.51 MB / 450.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2446/0.5518, allocations: 78.88 MB / 0.517 GB, free: 15.49 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001916/0.5521, allocations: 63.84 kB / 0.517 GB, free: 15.46 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.03139/0.5835, allocations: 11.95 MB / 0.5287 GB, free: 6.066 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.5835, allocations: 11.94 kB / 0.5287 GB, free: 6.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.5836, allocations: 43.53 kB / 0.5288 GB, free: 6.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004152/0.5841, allocations: 323.1 kB / 0.5291 GB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.5841, allocations: 12 kB / 0.5291 GB, free: 5.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.5841, allocations: 12 kB / 0.5291 GB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005976/0.5847, allocations: 394.2 kB / 0.5295 GB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005631/0.5853, allocations: 367.2 kB / 0.5298 GB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.5853, allocations: 4 kB / 0.5298 GB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.5854, allocations: 3.906 kB / 0.5298 GB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.5854, allocations: 8 kB / 0.5298 GB, free: 5.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.5876, allocations: 1.604 MB / 0.5314 GB, free: 3.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.5882, allocations: 439.7 kB / 0.5318 GB, free: 3.645 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.5885, allocations: 259.6 kB / 0.5321 GB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001519/0.5887, allocations: 96.39 kB / 0.5322 GB, free: 3.395 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.5887, allocations: 49.91 kB / 0.5322 GB, free: 3.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 1.603e-06/0.5887, allocations: 0 / 0.5322 GB, free: 3.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.00233/0.5911, allocations: 0.8265 MB / 0.533 GB, free: 2.746 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.5911, allocations: 55.41 kB / 0.5331 GB, free: 2.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.5913, allocations: 240.6 kB / 0.5333 GB, free: 2.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.014e-05/0.5914, allocations: 25.7 kB / 0.5333 GB, free: 2.449 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.188e-05/0.5915, allocations: 141 kB / 0.5335 GB, free: 2.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.5916, allocations: 143 kB / 0.5336 GB, free: 2.195 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.5916, allocations: 0 / 0.5336 GB, free: 2.195 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.5917, allocations: 344.8 kB / 0.5339 GB, free: 1.863 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002924/0.592, allocations: 211.8 kB / 0.5341 GB, free: 1.758 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003129/0.5924, allocations: 218.5 kB / 0.5343 GB, free: 1.641 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006754/0.593, allocations: 269.2 kB / 0.5346 GB, free: 1.488 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5931, allocations: 0 / 0.5346 GB, free: 1.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002463/0.5955, allocations: 0.9094 MB / 0.5355 GB, free: 0.832 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.5956, allocations: 11.98 kB / 0.5355 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.5956, allocations: 0 / 0.5355 GB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/0.5974, allocations: 391.9 kB / 0.5359 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.5977, allocations: 62.89 kB / 0.5359 GB, free: 472 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005993/0.6037, allocations: 5.268 MB / 0.5411 GB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004434/0.6042, allocations: 23.75 kB / 0.5411 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.798e-05/0.6042, allocations: 19.8 kB / 0.5411 GB, free: 11.66 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 (34): * Single equations (assignments): 31 * 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.0001601/0.6044, allocations: 109.8 kB / 0.5412 GB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.128e-05/0.6045, allocations: 35.62 kB / 0.5413 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.607, allocations: 0.9403 MB / 0.5422 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.6071, allocations: 7.938 kB / 0.5422 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.6071, allocations: 0 / 0.5422 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.6071, allocations: 7.984 kB / 0.5422 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005735/0.6077, allocations: 0.5436 MB / 0.5427 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.6077, allocations: 0 / 0.5427 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002113/0.6079, allocations: 51.16 kB / 0.5428 GB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001727/0.6096, allocations: 398.6 kB / 0.5431 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.6097, allocations: 11.61 kB / 0.5432 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005628/0.6153, allocations: 5.281 MB / 0.5483 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.6153, allocations: 0 / 0.5483 GB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002414/0.6178, allocations: 0.9612 MB / 0.5493 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002498/0.6203, allocations: 1.349 MB / 0.5506 GB, free: 3.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.6204, allocations: 120.6 kB / 0.5507 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.717e-05/0.6205, allocations: 0 / 0.5507 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.6209, allocations: 27.98 kB / 0.5507 GB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.436e-05/0.621, allocations: 28.33 kB / 0.5507 GB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/0.621, allocations: 15.98 kB / 0.5508 GB, free: 3.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002242/0.6212, allocations: 187.1 kB / 0.5509 GB, free: 2.891 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001356/0.6226, allocations: 135.8 kB / 0.5511 GB, free: 2.758 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 (34): * Single equations (assignments): 31 * 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.0002609/0.6229, allocations: 115.2 kB / 0.5512 GB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.6247, allocations: 0.9106 MB / 0.5521 GB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6247, allocations: 0 / 0.5521 GB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.6259, allocations: 0.6744 MB / 0.5527 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.6263, allocations: 28.88 kB / 0.5527 GB, free: 0.9609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.6274, allocations: 0.4913 MB / 0.5532 GB, free: 452 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000405/0.6278, allocations: 0.832 MB / 0.554 GB, free: 15.59 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6278, allocations: 4 kB / 0.554 GB, free: 15.58 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceThreeLinesThreeLoads.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)