Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") [: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.001055/0.001055, allocations: 189.8 kB / 7.842 MB, free: 2.465 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.312/1.312, allocations: 221.4 MB / 229.7 MB, free: 3.145 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.0009701/0.0009706, allocations: 95.61 kB / 280.5 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04147/0.04147, allocations: 8.09 MB / 339.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.446e-06, allocations: 4 kB / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 52.51 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.4588, allocations: 79.41 MB / 0.5174 GB, free: 15.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4591, allocations: 63.98 kB / 0.5175 GB, free: 15.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0321/0.4912, allocations: 9.149 MB / 0.5264 GB, free: 7.984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.4913, allocations: 4 kB / 0.5264 GB, free: 7.98 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.002209/0.4935, allocations: 0.749 MB / 0.5271 GB, free: 7.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.4935, allocations: 19.95 kB / 0.5272 GB, free: 7.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.661e-05/0.4936, allocations: 27.72 kB / 0.5272 GB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/0.494, allocations: 262.2 kB / 0.5274 GB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.494, allocations: 8 kB / 0.5274 GB, free: 6.914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.148e-05/0.494, allocations: 8 kB / 0.5274 GB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004668/0.4945, allocations: 289.6 kB / 0.5277 GB, free: 6.746 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.495, allocations: 319.9 kB / 0.528 GB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.495, allocations: 3.984 kB / 0.528 GB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.4951, allocations: 0 / 0.528 GB, free: 6.516 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.4951, allocations: 4 kB / 0.528 GB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.4972, allocations: 1.486 MB / 0.5295 GB, free: 5.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.4976, allocations: 297.7 kB / 0.5298 GB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.4979, allocations: 160.8 kB / 0.5299 GB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.498, allocations: 85.33 kB / 0.53 GB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.498, allocations: 38.3 kB / 0.53 GB, free: 4.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.498, allocations: 0 / 0.53 GB, free: 4.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.002272/0.5003, allocations: 0.6534 MB / 0.5307 GB, free: 4.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.56e-05/0.5004, allocations: 102.8 kB / 0.5308 GB, free: 4.133 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.5006, allocations: 189.9 kB / 0.531 GB, free: 3.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.5007, allocations: 25.7 kB / 0.531 GB, free: 3.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.5007, allocations: 134.5 kB / 0.5311 GB, free: 3.812 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.5008, allocations: 88.34 kB / 0.5312 GB, free: 3.734 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.5008, allocations: 0 / 0.5312 GB, free: 3.734 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5009, allocations: 331.2 kB / 0.5315 GB, free: 3.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000205/0.5012, allocations: 142.1 kB / 0.5316 GB, free: 3.336 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002841/0.5015, allocations: 189.7 kB / 0.5318 GB, free: 3.207 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004672/0.5019, allocations: 184.8 kB / 0.532 GB, free: 3.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5019, allocations: 0 / 0.532 GB, free: 3.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002221/0.5042, allocations: 0.6997 MB / 0.5327 GB, free: 2.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.5042, allocations: 4 kB / 0.5327 GB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5042, allocations: 4 kB / 0.5327 GB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00213/0.5064, allocations: 378 kB / 0.5331 GB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.5066, allocations: 43.91 kB / 0.5331 GB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004563/0.5112, allocations: 3.511 MB / 0.5365 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.5115, allocations: 23.81 kB / 0.5365 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/0.5115, allocations: 11.98 kB / 0.5366 GB, free: 14.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.5117, allocations: 109.8 kB / 0.5367 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.5117, allocations: 31.81 kB / 0.5367 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/0.5141, allocations: 0.7294 MB / 0.5374 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5141, allocations: 0 / 0.5374 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5141, allocations: 4 kB / 0.5374 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5141, allocations: 0 / 0.5374 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.5146, allocations: 422.4 kB / 0.5378 GB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.5146, allocations: 0 / 0.5378 GB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.5148, allocations: 39.92 kB / 0.5379 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/0.5167, allocations: 375.7 kB / 0.5382 GB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.5167, allocations: 3.984 kB / 0.5382 GB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004358/0.5211, allocations: 3.502 MB / 0.5416 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5211, allocations: 3.984 kB / 0.5416 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002207/0.5233, allocations: 0.7579 MB / 0.5424 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.5234, allocations: 100.8 kB / 0.5425 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.5235, allocations: 4 kB / 0.5425 GB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.5238, allocations: 15.92 kB / 0.5425 GB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.964e-05/0.5238, allocations: 23.81 kB / 0.5425 GB, free: 9.586 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.212e-05/0.5239, allocations: 8 kB / 0.5425 GB, free: 9.578 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001885/0.5241, allocations: 151 kB / 0.5427 GB, free: 9.453 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005145/0.5246, allocations: 91.94 kB / 0.5428 GB, free: 9.363 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 (24): * Single equations (assignments): 22 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002212/0.5248, allocations: 111.2 kB / 0.5429 GB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.5263, allocations: 0.6251 MB / 0.5435 GB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5263, allocations: 0 / 0.5435 GB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.5274, allocations: 478.3 kB / 0.5439 GB, free: 8.352 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002123/0.5276, allocations: 15 kB / 0.5439 GB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009437/0.5286, allocations: 337.9 kB / 0.5443 GB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/0.529, allocations: 0.7871 MB / 0.545 GB, free: 7.23 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.529, allocations: 0 / 0.545 GB, free: 7.23 MB / 362.7 MB Notification: Performance of Templates: time 0.01104/0.5401, allocations: 5.482 MB / 0.5504 GB, free: 1.785 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1)