Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2",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.001867/0.001867, allocations: 193 kB / 7.847 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.332/1.332, allocations: 221.4 MB / 229.6 MB, free: 3.004 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.000928/0.0009282, allocations: 88.02 kB / 280.5 MB, free: 1.227 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03522/0.03522, allocations: 8.098 MB / 339.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1791/0.2143, allocations: 58.62 MB / 398 MB, free: 67.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.3013, allocations: 52.51 MB / 450.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2505/0.5518, allocations: 80.91 MB / 0.519 GB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000165/0.552, allocations: 66.17 kB / 0.519 GB, free: 13.15 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.03509/0.5871, allocations: 14.08 MB / 0.5328 GB, free: 2.074 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.5872, allocations: 11.94 kB / 0.5328 GB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.5873, allocations: 52.31 kB / 0.5328 GB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004126/0.5877, allocations: 330.5 kB / 0.5332 GB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.5877, allocations: 12 kB / 0.5332 GB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.5878, allocations: 20 kB / 0.5332 GB, free: 1.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006002/0.5884, allocations: 426.2 kB / 0.5336 GB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.5891, allocations: 463.8 kB / 0.534 GB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.5891, allocations: 3.938 kB / 0.534 GB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.5892, allocations: 0 / 0.534 GB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.5892, allocations: 11.94 kB / 0.5341 GB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002772/0.592, allocations: 2.162 MB / 0.5362 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.5925, allocations: 436.5 kB / 0.5366 GB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003193/0.5929, allocations: 257.2 kB / 0.5368 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001632/0.593, allocations: 89.09 kB / 0.5369 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.5931, allocations: 40.62 kB / 0.537 GB, free: 14.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.577e-06/0.5931, allocations: 0 / 0.537 GB, free: 14.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003696/0.5968, allocations: 1.086 MB / 0.538 GB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5968, allocations: 106.8 kB / 0.5381 GB, free: 13.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.5971, allocations: 218.9 kB / 0.5383 GB, free: 13.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.5971, allocations: 25.7 kB / 0.5384 GB, free: 13.48 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.5972, allocations: 157.8 kB / 0.5385 GB, free: 13.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.5973, allocations: 136.8 kB / 0.5386 GB, free: 13.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.802e-05/0.5973, allocations: 4 kB / 0.5386 GB, free: 13.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.5975, allocations: 349.1 kB / 0.539 GB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.5978, allocations: 215.5 kB / 0.5392 GB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.5981, allocations: 251.4 kB / 0.5394 GB, free: 12.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006992/0.5988, allocations: 269.3 kB / 0.5397 GB, free: 12.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.5989, allocations: 4 kB / 0.5397 GB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003598/0.6025, allocations: 1.105 MB / 0.5408 GB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.6025, allocations: 4 kB / 0.5408 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.6025, allocations: 3.984 kB / 0.5408 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003517/0.606, allocations: 0.6783 MB / 0.5414 GB, free: 11.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.6063, allocations: 51.91 kB / 0.5415 GB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006543/0.6129, allocations: 3.457 MB / 0.5448 GB, free: 8.375 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003884/0.6133, allocations: 35.72 kB / 0.5449 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.6133, allocations: 12 kB / 0.5449 GB, free: 8.332 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.000129/0.6135, allocations: 109.9 kB / 0.545 GB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.6135, allocations: 35.62 kB / 0.545 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003731/0.6173, allocations: 1.193 MB / 0.5462 GB, free: 7.301 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6173, allocations: 7.938 kB / 0.5462 GB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6173, allocations: 3.906 kB / 0.5462 GB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.756e-06/0.6173, allocations: 7.984 kB / 0.5462 GB, free: 7.281 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006563/0.618, allocations: 0.5585 MB / 0.5468 GB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.618, allocations: 0 / 0.5468 GB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/0.6182, allocations: 59.53 kB / 0.5468 GB, free: 6.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003425/0.6217, allocations: 0.6739 MB / 0.5475 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.6217, allocations: 3.75 kB / 0.5475 GB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00622/0.628, allocations: 3.38 MB / 0.5508 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.628, allocations: 4 kB / 0.5508 GB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003725/0.6317, allocations: 1.202 MB / 0.552 GB, free: 2.113 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00366/0.6354, allocations: 1.589 MB / 0.5535 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.6355, allocations: 108.8 kB / 0.5536 GB, free: 388 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.872e-05/0.6356, allocations: 3.984 kB / 0.5536 GB, free: 384 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003789/0.636, allocations: 19.89 kB / 0.5536 GB, free: 364 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.723e-05/0.6361, allocations: 28.39 kB / 0.5537 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.6361, allocations: 19.94 kB / 0.5537 GB, free: 316 kB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001782/0.6363, allocations: 175.1 kB / 0.5538 GB, free: 140 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.001214/0.6375, allocations: 159.9 kB / 0.554 GB, free: 15.98 MB / 378.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.0002042/0.6378, allocations: 107.2 kB / 0.5541 GB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.64, allocations: 0.8114 MB / 0.5549 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.64, allocations: 7.891 kB / 0.5549 GB, free: 15.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.6415, allocations: 0.5459 MB / 0.5554 GB, free: 14.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.6418, allocations: 24.98 kB / 0.5555 GB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.643, allocations: 490.8 kB / 0.5559 GB, free: 13.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004052/0.6434, allocations: 0.8476 MB / 0.5568 GB, free: 13.08 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6434, allocations: 0 / 0.5568 GB, free: 13.08 MB / 378.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses2.pipe 2>&1)