Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1",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.001745/0.001745, allocations: 186.4 kB / 7.845 MB, free: 2.504 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.383/1.383, allocations: 221.4 MB / 229.7 MB, free: 3.305 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.0009641/0.0009641, allocations: 93.59 kB / 280.5 MB, free: 1.332 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03631/0.03631, allocations: 8.095 MB / 339.4 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1749/0.2113, allocations: 58.62 MB / 398 MB, free: 67.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07783/0.2891, allocations: 52.51 MB / 450.5 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2713/0.5605, allocations: 80.92 MB / 0.519 GB, free: 13.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002031/0.5607, allocations: 62.53 kB / 0.519 GB, free: 13.2 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.03715/0.5979, allocations: 14.08 MB / 0.5328 GB, free: 2.129 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.5979, allocations: 15.94 kB / 0.5328 GB, free: 2.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.5981, allocations: 47.44 kB / 0.5328 GB, free: 2.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.5985, allocations: 330.2 kB / 0.5332 GB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.5986, allocations: 12 kB / 0.5332 GB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.5986, allocations: 24.59 kB / 0.5332 GB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000635/0.5993, allocations: 418.6 kB / 0.5336 GB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007064/0.6, allocations: 469.9 kB / 0.534 GB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.6, allocations: 0 / 0.534 GB, free: 1.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.393e-05/0.6001, allocations: 4 kB / 0.534 GB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.6001, allocations: 8 kB / 0.5341 GB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002975/0.6031, allocations: 2.18 MB / 0.5362 GB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005294/0.6036, allocations: 424.4 kB / 0.5366 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.6039, allocations: 254.5 kB / 0.5368 GB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.6041, allocations: 89.05 kB / 0.5369 GB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.6042, allocations: 42.48 kB / 0.537 GB, free: 14.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 2.835e-06/0.6042, allocations: 4 kB / 0.537 GB, free: 14.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003681/0.6079, allocations: 1.049 MB / 0.538 GB, free: 13.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.6079, allocations: 110.7 kB / 0.5381 GB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.6082, allocations: 218 kB / 0.5383 GB, free: 13.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.185e-05/0.6082, allocations: 25.7 kB / 0.5383 GB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.338e-05/0.6083, allocations: 160.4 kB / 0.5385 GB, free: 13.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.6084, allocations: 137 kB / 0.5386 GB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/0.6085, allocations: 4 kB / 0.5386 GB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.6086, allocations: 346.4 kB / 0.5389 GB, free: 12.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002965/0.6089, allocations: 208 kB / 0.5391 GB, free: 12.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000318/0.6092, allocations: 251.4 kB / 0.5394 GB, free: 12.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006837/0.6099, allocations: 272.7 kB / 0.5396 GB, free: 12.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6099, allocations: 0 / 0.5396 GB, free: 12.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003603/0.6135, allocations: 1.107 MB / 0.5407 GB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6136, allocations: 4 kB / 0.5407 GB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6136, allocations: 3.938 kB / 0.5407 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003488/0.6171, allocations: 0.6742 MB / 0.5414 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002712/0.6174, allocations: 67.25 kB / 0.5415 GB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00643/0.6238, allocations: 3.362 MB / 0.5447 GB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.6242, allocations: 31.83 kB / 0.5448 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.078e-05/0.6243, allocations: 11.98 kB / 0.5448 GB, free: 8.43 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 (31): * Single equations (assignments): 30 * 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 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.6244, allocations: 112.9 kB / 0.5449 GB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.374e-05/0.6245, allocations: 31.62 kB / 0.5449 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003778/0.6283, allocations: 1.167 MB / 0.5461 GB, free: 7.414 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.6283, allocations: 15.89 kB / 0.5461 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.6283, allocations: 0 / 0.5461 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.6283, allocations: 0 / 0.5461 GB, free: 7.398 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.629, allocations: 0.5552 MB / 0.5466 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.629, allocations: 0 / 0.5466 GB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.6292, allocations: 55.91 kB / 0.5467 GB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/0.6327, allocations: 0.6807 MB / 0.5473 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.053e-05/0.6328, allocations: 3.188 kB / 0.5473 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006713/0.6395, allocations: 3.441 MB / 0.5507 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6395, allocations: 4 kB / 0.5507 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003675/0.6432, allocations: 1.174 MB / 0.5518 GB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003767/0.647, allocations: 1.558 MB / 0.5534 GB, free: 0.6758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.6471, allocations: 113.1 kB / 0.5535 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.6472, allocations: 3.906 kB / 0.5535 GB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.6476, allocations: 27.97 kB / 0.5535 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.237e-05/0.6476, allocations: 24.34 kB / 0.5535 GB, free: 500 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-05/0.6477, allocations: 23.98 kB / 0.5535 GB, free: 476 kB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001762/0.6479, allocations: 167.1 kB / 0.5537 GB, free: 308 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001249/0.6491, allocations: 155.8 kB / 0.5539 GB, free: 152 kB / 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): 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002487/0.6494, allocations: 123 kB / 0.554 GB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002045/0.6514, allocations: 0.7802 MB / 0.5547 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.6515, allocations: 4 kB / 0.5547 GB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001739/0.6532, allocations: 0.5616 MB / 0.5553 GB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.6535, allocations: 20.98 kB / 0.5553 GB, free: 14.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.6547, allocations: 494.8 kB / 0.5558 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.6551, allocations: 0.8437 MB / 0.5566 GB, free: 13.26 MB / 378.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6552, allocations: 0 / 0.5566 GB, free: 13.26 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)