Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,fileNamePrefix="PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank",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.00102/0.00102, allocations: 196.8 kB / 7.848 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.15/1.15, allocations: 221.4 MB / 229.6 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.0009303/0.0009303, allocations: 97.03 kB / 280.5 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03415/0.03415, allocations: 8.102 MB / 339.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1751/0.2093, allocations: 58.62 MB / 398 MB, free: 67.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06813/0.2775, allocations: 52.51 MB / 450.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.505, allocations: 79.2 MB / 0.5173 GB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001496/0.5052, allocations: 58.8 kB / 0.5174 GB, free: 14.88 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.01729/0.5225, allocations: 6.833 MB / 0.524 GB, free: 9.488 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.5225, allocations: 11.94 kB / 0.524 GB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/0.5226, allocations: 19.72 kB / 0.5241 GB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.5229, allocations: 237.2 kB / 0.5243 GB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.523, allocations: 4 kB / 0.5243 GB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.523, allocations: 8 kB / 0.5243 GB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003235/0.5233, allocations: 195.6 kB / 0.5245 GB, free: 9.082 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003341/0.5237, allocations: 191.7 kB / 0.5247 GB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.5237, allocations: 0 / 0.5247 GB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.5237, allocations: 0 / 0.5247 GB, free: 8.949 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5237, allocations: 4 kB / 0.5247 GB, free: 8.945 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.525, allocations: 0.8419 MB / 0.5255 GB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.5253, allocations: 248.4 kB / 0.5257 GB, free: 8.051 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.5254, allocations: 121.3 kB / 0.5258 GB, free: 7.984 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.163e-05/0.5255, allocations: 8.094 kB / 0.5258 GB, free: 7.977 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.5255, allocations: 38.25 kB / 0.5259 GB, free: 7.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.493e-06/0.5255, allocations: 0 / 0.5259 GB, free: 7.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001124/0.5267, allocations: 400.2 kB / 0.5263 GB, free: 7.648 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.5267, allocations: 59.34 kB / 0.5263 GB, free: 7.578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.5269, allocations: 156.8 kB / 0.5265 GB, free: 7.441 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.5269, allocations: 25.7 kB / 0.5265 GB, free: 7.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.421e-05/0.527, allocations: 120.2 kB / 0.5266 GB, free: 7.297 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.078e-05/0.527, allocations: 69.47 kB / 0.5267 GB, free: 7.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.5271, allocations: 4 kB / 0.5267 GB, free: 7.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5272, allocations: 326.2 kB / 0.527 GB, free: 6.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001501/0.5273, allocations: 100.9 kB / 0.5271 GB, free: 6.859 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.5275, allocations: 101.4 kB / 0.5272 GB, free: 6.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.5278, allocations: 127.8 kB / 0.5273 GB, free: 6.727 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.5278, allocations: 0 / 0.5273 GB, free: 6.727 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00115/0.529, allocations: 457 kB / 0.5277 GB, free: 6.395 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.529, allocations: 4 kB / 0.5277 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.529, allocations: 0 / 0.5277 GB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007985/0.5298, allocations: 175 kB / 0.5279 GB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.53, allocations: 23.98 kB / 0.5279 GB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002809/0.5328, allocations: 2.006 MB / 0.5299 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.533, allocations: 7.844 kB / 0.5299 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.533, allocations: 8 kB / 0.5299 GB, free: 4.457 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load.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 (17): * Single equations (assignments): 16 * 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 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.5332, allocations: 110.5 kB / 0.53 GB, free: 4.344 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.5333, allocations: 19.81 kB / 0.53 GB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001212/0.5345, allocations: 450.4 kB / 0.5305 GB, free: 4.008 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.5345, allocations: 3.984 kB / 0.5305 GB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.816e-06/0.5345, allocations: 4 kB / 0.5305 GB, free: 4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5345, allocations: 0 / 0.5305 GB, free: 4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003957/0.5349, allocations: 314.6 kB / 0.5308 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5349, allocations: 0 / 0.5308 GB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.921e-05/0.5351, allocations: 28.2 kB / 0.5308 GB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007194/0.5358, allocations: 177 kB / 0.531 GB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.5358, allocations: 0 / 0.531 GB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002713/0.5385, allocations: 2.004 MB / 0.5329 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.5386, allocations: 0 / 0.5329 GB, free: 1.801 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001084/0.5396, allocations: 0.4985 MB / 0.5334 GB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001202/0.5409, allocations: 0.8823 MB / 0.5343 GB, free: 0.6172 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.541, allocations: 96.91 kB / 0.5344 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.541, allocations: 3.906 kB / 0.5344 GB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.5412, allocations: 4 kB / 0.5344 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.27e-05/0.5412, allocations: 23.09 kB / 0.5344 GB, free: 488 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.5413, allocations: 4 kB / 0.5344 GB, free: 484 kB / 346.7 MB Notification: Performance of sort global known variables: time 9.557e-05/0.5414, allocations: 125 kB / 0.5345 GB, free: 376 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009391/0.5423, allocations: 67.5 kB / 0.5346 GB, free: 312 kB / 346.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 (15): * Single equations (assignments): 14 * 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 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001721/0.5425, allocations: 115.2 kB / 0.5347 GB, free: 188 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008544/0.5434, allocations: 406.8 kB / 0.5351 GB, free: 15.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5434, allocations: 4 kB / 0.5351 GB, free: 15.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.544, allocations: 286.2 kB / 0.5354 GB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.5442, allocations: 20.48 kB / 0.5354 GB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006888/0.5449, allocations: 265.1 kB / 0.5356 GB, free: 15.4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.5452, allocations: 0.7553 MB / 0.5364 GB, free: 14.62 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5452, allocations: 0 / 0.5364 GB, free: 14.62 MB / 362.7 MB (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Examples_OneSourceOneLineOneLoadOneBank.fmu > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)