Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.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.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7406,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC") [: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.001033/0.001033, allocations: 190.2 kB / 8.134 MB, free: 2.184 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.133/1.133, allocations: 194.2 MB / 202.8 MB, free: 8.641 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.001716/0.001716, allocations: 122 kB / 247.8 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1708/0.1708, allocations: 37.92 MB / 330.5 MB, free: 6.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.182e-06/6.292e-06, allocations: 0 / 389.8 MB, free: 78.1 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08229/0.08231, allocations: 53.23 MB / 443 MB, free: 24.95 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2526/0.3349, allocations: 88.11 MB / 0.5187 GB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.3352, allocations: 88.53 kB / 0.5188 GB, free: 10.9 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01844/0.3537, allocations: 6.081 MB / 0.5247 GB, free: 8.586 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.702e-05/0.3537, allocations: 6.812 kB / 0.5247 GB, free: 8.586 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.0008955/0.3546, allocations: 0.5381 MB / 0.5252 GB, free: 8.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3547, allocations: 7.531 kB / 0.5252 GB, free: 8.117 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.3548, allocations: 31.59 kB / 0.5253 GB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.3564, allocations: 0.6425 MB / 0.5259 GB, free: 7.727 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.3564, allocations: 10.12 kB / 0.5259 GB, free: 7.723 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.3566, allocations: 26.11 kB / 0.5259 GB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003279/0.3569, allocations: 169.3 kB / 0.5261 GB, free: 7.695 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.3573, allocations: 262.9 kB / 0.5264 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3573, allocations: 1.125 kB / 0.5264 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.3573, allocations: 1.031 kB / 0.5264 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.3573, allocations: 5.688 kB / 0.5264 GB, free: 7.551 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.3588, allocations: 1.242 MB / 0.5276 GB, free: 6.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.3591, allocations: 113.8 kB / 0.5277 GB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.598e-05/0.3592, allocations: 40.2 kB / 0.5277 GB, free: 6.414 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.3592, allocations: 9.25 kB / 0.5277 GB, free: 6.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3592, allocations: 39.62 kB / 0.5278 GB, free: 6.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.883e-06/0.3592, allocations: 0 / 0.5278 GB, free: 6.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008756/0.3601, allocations: 484.1 kB / 0.5282 GB, free: 5.988 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.251e-05/0.3602, allocations: 108.1 kB / 0.5283 GB, free: 5.863 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3604, allocations: 200.7 kB / 0.5285 GB, free: 5.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.3604, allocations: 26.83 kB / 0.5285 GB, free: 5.719 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.564e-05/0.3605, allocations: 183.2 kB / 0.5287 GB, free: 5.566 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3605, allocations: 39.8 kB / 0.5288 GB, free: 5.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.3605, allocations: 0 / 0.5288 GB, free: 5.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.064e-05/0.3606, allocations: 334.1 kB / 0.5291 GB, free: 5.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.3607, allocations: 34.22 kB / 0.5291 GB, free: 5.215 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.3608, allocations: 119.9 kB / 0.5292 GB, free: 5.098 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.3609, allocations: 52.64 kB / 0.5293 GB, free: 5.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3609, allocations: 1.156 kB / 0.5293 GB, free: 5.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004002/0.3613, allocations: 205.9 kB / 0.5295 GB, free: 5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3614, allocations: 5.094 kB / 0.5295 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/0.3614, allocations: 7.156 kB / 0.5295 GB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001465/0.3615, allocations: 34.06 kB / 0.5295 GB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.362, allocations: 58.67 kB / 0.5296 GB, free: 4.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/0.362, allocations: 11.91 kB / 0.5296 GB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/0.3622, allocations: 15.98 kB / 0.5296 GB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.3622, allocations: 7.344 kB / 0.5296 GB, free: 4.949 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (23): * 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): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.401e-05/0.3623, allocations: 112.2 kB / 0.5297 GB, free: 4.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.3624, allocations: 21 kB / 0.5297 GB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.3628, allocations: 140.3 kB / 0.5299 GB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3628, allocations: 5.438 kB / 0.5299 GB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.3628, allocations: 1.312 kB / 0.5299 GB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3628, allocations: 1.438 kB / 0.5299 GB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.3633, allocations: 243.1 kB / 0.5301 GB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3633, allocations: 3.906 kB / 0.5301 GB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.3635, allocations: 35.81 kB / 0.5301 GB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.259e-06/0.3635, allocations: 1.219 kB / 0.5301 GB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.3635, allocations: 2.375 kB / 0.5302 GB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.728e-06/0.3636, allocations: 1.125 kB / 0.5302 GB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3636, allocations: 1.031 kB / 0.5302 GB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004875/0.3641, allocations: 387.9 kB / 0.5305 GB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.543e-05/0.3642, allocations: 103 kB / 0.5306 GB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.241e-05/0.3642, allocations: 1.219 kB / 0.5306 GB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.3644, allocations: 1.25 kB / 0.5306 GB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.3644, allocations: 11.39 kB / 0.5306 GB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/0.3644, allocations: 8.562 kB / 0.5306 GB, free: 4.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001391/0.3646, allocations: 156.6 kB / 0.5308 GB, free: 4.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004522/0.365, allocations: 54.92 kB / 0.5308 GB, free: 4.062 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pLoadDC.i,pLoadDC.L) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001325/0.3652, allocations: 97.83 kB / 0.5309 GB, free: 3.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003084/0.3655, allocations: 203.7 kB / 0.5311 GB, free: 3.852 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3655, allocations: 4.875 kB / 0.5311 GB, free: 3.848 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.364e-05/0.3656, allocations: 46.06 kB / 0.5312 GB, free: 3.844 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.366, allocations: 47.28 kB / 0.5312 GB, free: 3.828 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000905/0.3669, allocations: 424.5 kB / 0.5316 GB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003387/0.3673, allocations: 0.8023 MB / 0.5324 GB, free: 2.797 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3673, allocations: 1.312 kB / 0.5324 GB, free: 2.797 MB / 346.7 MB Notification: Performance of Templates: time 0.005459/0.3728, allocations: 2.064 MB / 0.5344 GB, free: 1.785 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadDC.pipe 2>&1)