Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [: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 3.2.2+maint.om/package.mo): time 0.001862/0.001862, allocations: 190.8 kB / 8.134 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.181/1.181, allocations: 194.2 MB / 202.8 MB, free: 8.746 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001693/0.001693, allocations: 118 kB / 247.7 MB, free: 6.266 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1686/0.1686, allocations: 37.91 MB / 330.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.646e-06/8.736e-06, allocations: 4 kB / 389.8 MB, free: 78.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.09689, allocations: 53.23 MB / 443 MB, free: 24.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2868/0.3837, allocations: 89.47 MB / 0.52 GB, free: 10.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.384, allocations: 85.58 kB / 0.5201 GB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02186/0.4059, allocations: 6.994 MB / 0.5269 GB, free: 7.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.036e-05/0.406, allocations: 5.125 kB / 0.5269 GB, free: 7.605 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001005/0.407, allocations: 0.5805 MB / 0.5275 GB, free: 7.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.407, allocations: 8.938 kB / 0.5275 GB, free: 7.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.4072, allocations: 38.41 kB / 0.5275 GB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002108/0.4093, allocations: 0.8066 MB / 0.5283 GB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.4093, allocations: 9.25 kB / 0.5283 GB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/0.4094, allocations: 18.44 kB / 0.5284 GB, free: 6.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004461/0.4098, allocations: 211.7 kB / 0.5286 GB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.4103, allocations: 314 kB / 0.5289 GB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.4103, allocations: 3.906 kB / 0.5289 GB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.4104, allocations: 1.031 kB / 0.5289 GB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.4104, allocations: 6.438 kB / 0.5289 GB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.412, allocations: 1.303 MB / 0.5301 GB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.4122, allocations: 150.5 kB / 0.5303 GB, free: 5.422 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4124, allocations: 98.72 kB / 0.5304 GB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.436e-05/0.4125, allocations: 8.875 kB / 0.5304 GB, free: 5.387 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.4125, allocations: 37.34 kB / 0.5304 GB, free: 5.348 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.455e-06/0.4125, allocations: 0 / 0.5304 GB, free: 5.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001009/0.4135, allocations: 0.5655 MB / 0.531 GB, free: 4.953 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.4136, allocations: 79.36 kB / 0.531 GB, free: 4.859 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.4138, allocations: 252.8 kB / 0.5313 GB, free: 4.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.4138, allocations: 26.77 kB / 0.5313 GB, free: 4.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.89e-05/0.4139, allocations: 186.4 kB / 0.5315 GB, free: 4.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.424e-05/0.4139, allocations: 57.62 kB / 0.5315 GB, free: 4.512 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.497e-06/0.414, allocations: 0 / 0.5315 GB, free: 4.512 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.414, allocations: 337.8 kB / 0.5319 GB, free: 4.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.4141, allocations: 61.42 kB / 0.5319 GB, free: 4.184 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.4143, allocations: 157.8 kB / 0.5321 GB, free: 4.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.4144, allocations: 91.97 kB / 0.5322 GB, free: 4.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4144, allocations: 1.156 kB / 0.5322 GB, free: 4.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000488/0.4149, allocations: 285.1 kB / 0.5324 GB, free: 3.918 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4149, allocations: 4.75 kB / 0.5324 GB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.4149, allocations: 3.781 kB / 0.5324 GB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.4151, allocations: 44.67 kB / 0.5325 GB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.4154, allocations: 53.16 kB / 0.5325 GB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009079/0.4163, allocations: 1.397 MB / 0.5339 GB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.4165, allocations: 11.28 kB / 0.5339 GB, free: 2.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.4165, allocations: 10.16 kB / 0.5339 GB, free: 2.605 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.4166, allocations: 114.7 kB / 0.534 GB, free: 2.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.4167, allocations: 27.97 kB / 0.5341 GB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003866/0.417, allocations: 211.4 kB / 0.5343 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4171, allocations: 3.094 kB / 0.5343 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.4171, allocations: 1.344 kB / 0.5343 GB, free: 2.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4171, allocations: 4 kB / 0.5343 GB, free: 2.391 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007361/0.4178, allocations: 0.5677 MB / 0.5348 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.4178, allocations: 0 / 0.5348 GB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.418, allocations: 22.58 kB / 0.5348 GB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.4181, allocations: 55.84 kB / 0.5349 GB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.4182, allocations: 11.89 kB / 0.5349 GB, free: 1.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009454/0.4191, allocations: 1.398 MB / 0.5363 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4192, allocations: 0.9688 kB / 0.5363 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004475/0.4196, allocations: 409.8 kB / 0.5367 GB, free: 484 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.4197, allocations: 102.4 kB / 0.5368 GB, free: 372 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.4197, allocations: 6.484 kB / 0.5368 GB, free: 368 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001483/0.4199, allocations: 5.031 kB / 0.5368 GB, free: 368 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.912e-05/0.4199, allocations: 7.953 kB / 0.5368 GB, free: 364 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.42, allocations: 4.156 kB / 0.5368 GB, free: 364 kB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001807/0.4201, allocations: 197.3 kB / 0.537 GB, free: 264 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.00046/0.4206, allocations: 66.34 kB / 0.537 GB, free: 260 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001326/0.4207, allocations: 105.6 kB / 0.5371 GB, free: 164 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004273/0.4212, allocations: 267.4 kB / 0.5374 GB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4212, allocations: 0 / 0.5374 GB, free: 15.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.4215, allocations: 188.8 kB / 0.5376 GB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004146/0.422, allocations: 61.91 kB / 0.5376 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.423, allocations: 0.5095 MB / 0.5381 GB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004873/0.4235, allocations: 0.839 MB / 0.539 GB, free: 14.39 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4235, allocations: 0 / 0.539 GB, free: 14.39 MB / 362.7 MB Notification: Performance of Templates: time 0.006594/0.4301, allocations: 2.66 MB / 0.5415 GB, free: 11.78 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1)