Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") [: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.001184/0.001184, allocations: 195.6 kB / 7.847 MB, free: 2.477 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.298/1.298, allocations: 221.4 MB / 229.7 MB, free: 3.051 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.0009332/0.0009332, allocations: 89.61 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.03809/0.03809, allocations: 8.098 MB / 339.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.191e-06/6.221e-06, allocations: 0 / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07319/0.07321, allocations: 52.52 MB / 450.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2268/0.3001, allocations: 80.19 MB / 0.5182 GB, free: 13.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001585/0.3003, allocations: 62.47 kB / 0.5182 GB, free: 13.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02101/0.3213, allocations: 7.818 MB / 0.5259 GB, free: 7.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.3213, allocations: 4 kB / 0.5259 GB, free: 7.91 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001643/0.323, allocations: 0.6419 MB / 0.5265 GB, free: 7.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.323, allocations: 15.91 kB / 0.5265 GB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.847e-05/0.3231, allocations: 23.72 kB / 0.5265 GB, free: 7.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.3234, allocations: 260.7 kB / 0.5268 GB, free: 6.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3235, allocations: 8 kB / 0.5268 GB, free: 6.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.629e-05/0.3235, allocations: 15.98 kB / 0.5268 GB, free: 6.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003721/0.3239, allocations: 233.5 kB / 0.527 GB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003811/0.3243, allocations: 258.8 kB / 0.5273 GB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.3243, allocations: 0 / 0.5273 GB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.3243, allocations: 3.906 kB / 0.5273 GB, free: 6.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3243, allocations: 4 kB / 0.5273 GB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00153/0.3259, allocations: 1.154 MB / 0.5284 GB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003277/0.3262, allocations: 252.7 kB / 0.5287 GB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3264, allocations: 146.8 kB / 0.5288 GB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001377/0.3266, allocations: 85.09 kB / 0.5289 GB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3266, allocations: 46.31 kB / 0.5289 GB, free: 5.203 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.3266, allocations: 0 / 0.5289 GB, free: 5.203 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001997/0.3286, allocations: 0.5795 MB / 0.5295 GB, free: 4.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.3287, allocations: 81.11 kB / 0.5296 GB, free: 4.672 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.3288, allocations: 171.8 kB / 0.5297 GB, free: 4.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.3289, allocations: 25.7 kB / 0.5297 GB, free: 4.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.3289, allocations: 123.4 kB / 0.5299 GB, free: 4.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.329, allocations: 81.19 kB / 0.5299 GB, free: 4.305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.329, allocations: 0 / 0.5299 GB, free: 4.305 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.3291, allocations: 326.2 kB / 0.5303 GB, free: 3.984 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.3293, allocations: 126.5 kB / 0.5304 GB, free: 3.918 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.3295, allocations: 155.3 kB / 0.5305 GB, free: 3.828 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.3299, allocations: 158.9 kB / 0.5307 GB, free: 3.738 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.33, allocations: 4.031 kB / 0.5307 GB, free: 3.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001968/0.3319, allocations: 0.6077 MB / 0.5313 GB, free: 3.281 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.332, allocations: 11.12 kB / 0.5313 GB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.332, allocations: 0 / 0.5313 GB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/0.3338, allocations: 335.9 kB / 0.5316 GB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.334, allocations: 35.97 kB / 0.5316 GB, free: 2.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003522/0.3375, allocations: 2.242 MB / 0.5338 GB, free: 1.074 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.3378, allocations: 15.84 kB / 0.5338 GB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.126e-05/0.3379, allocations: 7.984 kB / 0.5339 GB, free: 1.051 MB / 346.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 (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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.338, allocations: 120.5 kB / 0.534 GB, free: 0.9297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.338, allocations: 15.81 kB / 0.534 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002039/0.3401, allocations: 0.6382 MB / 0.5346 GB, free: 448 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.3401, allocations: 7.844 kB / 0.5346 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.3401, allocations: 0 / 0.5346 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3401, allocations: 0 / 0.5346 GB, free: 440 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003894/0.3405, allocations: 385 kB / 0.535 GB, free: 116 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3405, allocations: 0 / 0.535 GB, free: 116 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.3407, allocations: 39.91 kB / 0.535 GB, free: 76 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.3425, allocations: 346.2 kB / 0.5353 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.3425, allocations: 0 / 0.5353 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003236/0.3457, allocations: 2.231 MB / 0.5375 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3458, allocations: 0 / 0.5375 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001907/0.3477, allocations: 0.692 MB / 0.5382 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.3478, allocations: 100.7 kB / 0.5383 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.3478, allocations: 3.906 kB / 0.5383 GB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.3481, allocations: 11.98 kB / 0.5383 GB, free: 13.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.984e-05/0.3482, allocations: 19.97 kB / 0.5383 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3482, allocations: 7.5 kB / 0.5383 GB, free: 13.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001074/0.3483, allocations: 139.8 kB / 0.5385 GB, free: 13.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.3487, allocations: 79.69 kB / 0.5385 GB, free: 13 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 (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 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000167/0.3489, allocations: 103.2 kB / 0.5386 GB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.35, allocations: 487.1 kB / 0.5391 GB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.35, allocations: 0 / 0.5391 GB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007382/0.3507, allocations: 342.2 kB / 0.5394 GB, free: 12.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.3509, allocations: 20.95 kB / 0.5395 GB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006788/0.3516, allocations: 286 kB / 0.5397 GB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/0.352, allocations: 0.7749 MB / 0.5405 GB, free: 11.22 MB / 362.7 MB Notification: Performance of SimCode: time 3.7e-07/0.352, allocations: 0 / 0.5405 GB, free: 11.22 MB / 362.7 MB Notification: Performance of Templates: time 0.008807/0.3608, allocations: 5.626 MB / 0.546 GB, free: 5.625 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)