Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.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: translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") translateModel(PowerSysPro.Examples.OneSourceTwoTransfosOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad") [: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.001697/0.001697, allocations: 188.1 kB / 7.846 MB, free: 1.156 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.193/1.193, allocations: 221.4 MB / 229.6 MB, free: 13.5 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008801/0.0008801, allocations: 86.5 kB / 280.5 MB, free: 10.52 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04188/0.04188, allocations: 8.099 MB / 339.4 MB, free: 15.63 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.324e-06, allocations: 1.531 kB / 397.9 MB, free: 91.68 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1143, allocations: 52.51 MB / 450.4 MB, free: 42.68 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3241/0.4384, allocations: 79.09 MB / 0.5171 GB, free: 16.34 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.4388, allocations: 59.7 kB / 0.5171 GB, free: 16.34 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.02131/0.4601, allocations: 8.24 MB / 0.5252 GB, free: 15.59 MB / 354.8 MB Notification: Performance of Transformations before backend: time 1.938e-05/0.4601, allocations: 3.938 kB / 0.5252 GB, free: 15.59 MB / 354.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002115/0.4623, allocations: 0.6866 MB / 0.5259 GB, free: 15.16 MB / 354.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4623, allocations: 9.641 kB / 0.5259 GB, free: 15.16 MB / 354.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/0.4625, allocations: 27.84 kB / 0.5259 GB, free: 15.14 MB / 354.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004213/0.4629, allocations: 259.5 kB / 0.5261 GB, free: 14.93 MB / 354.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.4629, allocations: 11.72 kB / 0.5262 GB, free: 14.92 MB / 354.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.463, allocations: 12.47 kB / 0.5262 GB, free: 14.92 MB / 354.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004046/0.4634, allocations: 234.1 kB / 0.5264 GB, free: 14.91 MB / 354.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004378/0.4638, allocations: 274.9 kB / 0.5267 GB, free: 14.85 MB / 354.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.4639, allocations: 0 / 0.5267 GB, free: 14.85 MB / 354.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/0.4639, allocations: 8.453 kB / 0.5267 GB, free: 14.85 MB / 354.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.464, allocations: 3.844 kB / 0.5267 GB, free: 14.85 MB / 354.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00196/0.4659, allocations: 1.191 MB / 0.5278 GB, free: 14.2 MB / 354.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003507/0.4663, allocations: 257.3 kB / 0.5281 GB, free: 14.17 MB / 354.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000186/0.4665, allocations: 146 kB / 0.5282 GB, free: 14.16 MB / 354.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/0.4667, allocations: 91.11 kB / 0.5283 GB, free: 14.06 MB / 354.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4667, allocations: 46.94 kB / 0.5283 GB, free: 14.02 MB / 354.8 MB Notification: Performance of pre-optimization done (n=24): time 1.663e-06/0.4667, allocations: 0 / 0.5283 GB, free: 14.02 MB / 354.8 MB Notification: Performance of matching and sorting (n=24): time 0.002332/0.4691, allocations: 0.6056 MB / 0.5289 GB, free: 13.95 MB / 354.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.4691, allocations: 110.6 kB / 0.529 GB, free: 13.82 MB / 354.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.4693, allocations: 177.3 kB / 0.5292 GB, free: 13.72 MB / 354.8 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.4693, allocations: 25.7 kB / 0.5292 GB, free: 13.69 MB / 354.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.4694, allocations: 118.1 kB / 0.5294 GB, free: 13.59 MB / 354.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.845e-05/0.4695, allocations: 84.28 kB / 0.5294 GB, free: 13.54 MB / 354.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/0.4695, allocations: 0 / 0.5294 GB, free: 13.54 MB / 354.8 MB Notification: Performance of setup shared object (initialization): time 8.174e-05/0.4696, allocations: 331.7 kB / 0.5297 GB, free: 13.23 MB / 354.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.4698, allocations: 131.9 kB / 0.5299 GB, free: 13.22 MB / 354.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.47, allocations: 157.4 kB / 0.53 GB, free: 13.2 MB / 354.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004248/0.4704, allocations: 158.8 kB / 0.5302 GB, free: 13.2 MB / 354.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.4704, allocations: 0 / 0.5302 GB, free: 13.2 MB / 354.8 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.002194/0.4726, allocations: 0.6446 MB / 0.5308 GB, free: 13.12 MB / 354.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4726, allocations: 4.578 kB / 0.5308 GB, free: 13.12 MB / 354.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.4727, allocations: 0 / 0.5308 GB, free: 13.12 MB / 354.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002157/0.4748, allocations: 392.5 kB / 0.5312 GB, free: 13.09 MB / 354.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.4751, allocations: 34.03 kB / 0.5312 GB, free: 13.09 MB / 354.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/0.4797, allocations: 2.415 MB / 0.5336 GB, free: 27.84 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.4801, allocations: 26.25 kB / 0.5336 GB, free: 27.82 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.4801, allocations: 13.47 kB / 0.5336 GB, free: 27.82 MB / 370.8 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 (21): * Single equations (assignments): 20 * 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 {5 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.4803, allocations: 101 kB / 0.5337 GB, free: 27.72 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.4804, allocations: 24.17 kB / 0.5337 GB, free: 27.71 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00235/0.4827, allocations: 0.6907 MB / 0.5344 GB, free: 27.63 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.4827, allocations: 3.938 kB / 0.5344 GB, free: 27.63 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.4827, allocations: 3.938 kB / 0.5344 GB, free: 27.62 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4828, allocations: 0 / 0.5344 GB, free: 27.62 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005172/0.4833, allocations: 382 kB / 0.5348 GB, free: 27.46 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4833, allocations: 4 kB / 0.5348 GB, free: 27.46 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.4835, allocations: 31.03 kB / 0.5348 GB, free: 27.46 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002129/0.4856, allocations: 384.5 kB / 0.5352 GB, free: 27.44 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-05/0.4856, allocations: 5.906 kB / 0.5352 GB, free: 27.44 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/0.4902, allocations: 2.413 MB / 0.5375 GB, free: 26.18 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.4902, allocations: 0 / 0.5375 GB, free: 26.18 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002175/0.4924, allocations: 0.732 MB / 0.5383 GB, free: 26.01 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/0.4925, allocations: 110.3 kB / 0.5384 GB, free: 25.89 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.4926, allocations: 1.547 kB / 0.5384 GB, free: 25.89 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.4929, allocations: 19.19 kB / 0.5384 GB, free: 25.89 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.4929, allocations: 21.67 kB / 0.5384 GB, free: 25.88 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.493, allocations: 8.641 kB / 0.5384 GB, free: 25.88 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0001462/0.4931, allocations: 142.7 kB / 0.5385 GB, free: 25.81 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0004799/0.4936, allocations: 89.22 kB / 0.5386 GB, free: 25.8 MB / 370.8 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 (21): * Single equations (assignments): 20 * 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 {5 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002093/0.4938, allocations: 112.1 kB / 0.5387 GB, free: 25.71 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.4954, allocations: 0.5391 MB / 0.5393 GB, free: 25.59 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.4954, allocations: 3.75 kB / 0.5393 GB, free: 25.59 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001211/0.4966, allocations: 404.2 kB / 0.5397 GB, free: 25.47 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.4969, allocations: 16.77 kB / 0.5397 GB, free: 25.46 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008532/0.4978, allocations: 292.2 kB / 0.5399 GB, free: 25.34 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004091/0.4982, allocations: 0.7774 MB / 0.5407 GB, free: 24.64 MB / 370.8 MB Notification: Performance of SimCode: time 6.21e-07/0.4982, allocations: 0 / 0.5407 GB, free: 24.64 MB / 370.8 MB Notification: Performance of Templates: time 0.01029/0.5085, allocations: 5.748 MB / 0.5463 GB, free: 24.28 MB / 370.8 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceTwoTransfosOneLoad.pipe 2>&1)