Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.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.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm") [: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.001715/0.001715, allocations: 188.2 kB / 8.134 MB, free: 2.172 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.466/1.466, allocations: 194.2 MB / 202.8 MB, free: 8.711 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.001813/0.001813, allocations: 122.5 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1706/0.1706, allocations: 37.92 MB / 330.5 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.533e-06/6.573e-06, allocations: 4 kB / 389.8 MB, free: 78.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08539/0.08541, allocations: 53.23 MB / 443 MB, free: 24.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2778/0.3632, allocations: 89.02 MB / 0.5196 GB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.3636, allocations: 89 kB / 0.5197 GB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.019/0.3826, allocations: 6.24 MB / 0.5258 GB, free: 8.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.035e-05/0.3827, allocations: 5.781 kB / 0.5258 GB, free: 8.16 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009968/0.3837, allocations: 0.5302 MB / 0.5263 GB, free: 7.695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.3837, allocations: 8.906 kB / 0.5263 GB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.3839, allocations: 35.06 kB / 0.5263 GB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002021/0.3859, allocations: 0.7686 MB / 0.5271 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.3859, allocations: 6.312 kB / 0.5271 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.386, allocations: 16.47 kB / 0.5271 GB, free: 7.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003622/0.3864, allocations: 162 kB / 0.5273 GB, free: 7.227 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004118/0.3868, allocations: 254.8 kB / 0.5275 GB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3868, allocations: 0 / 0.5275 GB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.3868, allocations: 4.906 kB / 0.5275 GB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.3869, allocations: 6.688 kB / 0.5275 GB, free: 7.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.3881, allocations: 1.177 MB / 0.5287 GB, free: 6.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.3885, allocations: 98.77 kB / 0.5287 GB, free: 6.059 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.715e-05/0.3885, allocations: 45.2 kB / 0.5288 GB, free: 6.035 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.074e-05/0.3886, allocations: 5.219 kB / 0.5288 GB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3886, allocations: 36.41 kB / 0.5288 GB, free: 5.988 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.3886, allocations: 0 / 0.5288 GB, free: 5.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007475/0.3894, allocations: 437.1 kB / 0.5292 GB, free: 5.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.3894, allocations: 78.42 kB / 0.5293 GB, free: 5.543 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.3896, allocations: 203.5 kB / 0.5295 GB, free: 5.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.3896, allocations: 29.64 kB / 0.5295 GB, free: 5.395 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.474e-05/0.3897, allocations: 176.8 kB / 0.5297 GB, free: 5.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.3898, allocations: 38.89 kB / 0.5298 GB, free: 5.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.3898, allocations: 0 / 0.5298 GB, free: 5.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.028e-05/0.3898, allocations: 339.4 kB / 0.5301 GB, free: 4.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/0.3899, allocations: 26.31 kB / 0.5301 GB, free: 4.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.39, allocations: 128.6 kB / 0.5302 GB, free: 4.762 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.73e-05/0.3901, allocations: 45.55 kB / 0.5303 GB, free: 4.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3901, allocations: 1.344 kB / 0.5303 GB, free: 4.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002939/0.3904, allocations: 181 kB / 0.5304 GB, free: 4.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3904, allocations: 4.938 kB / 0.5304 GB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3905, allocations: 3.688 kB / 0.5304 GB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3905, allocations: 4.719 kB / 0.5305 GB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000181/0.3907, allocations: 50.41 kB / 0.5305 GB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.3907, allocations: 4.062 kB / 0.5305 GB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.3909, allocations: 7.781 kB / 0.5305 GB, free: 4.656 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.3909, allocations: 8.969 kB / 0.5305 GB, free: 4.656 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 (24): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.391, allocations: 119 kB / 0.5306 GB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.831e-05/0.391, allocations: 21.84 kB / 0.5307 GB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002295/0.3912, allocations: 124.2 kB / 0.5308 GB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3913, allocations: 6.828 kB / 0.5308 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3913, allocations: 0 / 0.5308 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3913, allocations: 5.234 kB / 0.5308 GB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.3917, allocations: 424.6 kB / 0.5312 GB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3917, allocations: 1.031 kB / 0.5312 GB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.3919, allocations: 25.52 kB / 0.5312 GB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.3919, allocations: 2.031 kB / 0.5312 GB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.3919, allocations: 0.9688 kB / 0.5312 GB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.3919, allocations: 2.219 kB / 0.5312 GB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.3919, allocations: 0 / 0.5312 GB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003084/0.3923, allocations: 299.5 kB / 0.5315 GB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.3923, allocations: 99.83 kB / 0.5316 GB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.3924, allocations: 1.062 kB / 0.5316 GB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.3925, allocations: 3.938 kB / 0.5316 GB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.3925, allocations: 8.047 kB / 0.5316 GB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.3925, allocations: 14.12 kB / 0.5316 GB, free: 3.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.000124/0.3927, allocations: 157.3 kB / 0.5318 GB, free: 3.711 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.393, allocations: 44.86 kB / 0.5318 GB, free: 3.707 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001205/0.3932, allocations: 95.41 kB / 0.5319 GB, free: 3.617 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.3934, allocations: 98.98 kB / 0.532 GB, free: 3.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3934, allocations: 2.281 kB / 0.532 GB, free: 3.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.807e-05/0.3934, allocations: 44.48 kB / 0.532 GB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004122/0.3939, allocations: 49.59 kB / 0.5321 GB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.3946, allocations: 350 kB / 0.5324 GB, free: 3.355 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.3949, allocations: 0.8122 MB / 0.5332 GB, free: 2.602 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3949, allocations: 0 / 0.5332 GB, free: 2.602 MB / 346.7 MB Notification: Performance of Templates: time 0.005249/0.4002, allocations: 1.884 MB / 0.5351 GB, free: 1.676 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.ImpedanceOneTerm.pipe 2>&1)