Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.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.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") [: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.001528/0.001528, allocations: 190.9 kB / 7.841 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.332/1.332, allocations: 221.4 MB / 229.7 MB, free: 3.027 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.0009389/0.0009385, allocations: 83.62 kB / 280.5 MB, free: 1.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04974/0.04974, allocations: 8.103 MB / 339.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.044e-05/1.047e-05, allocations: 4 kB / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 52.52 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2681/0.3693, allocations: 81.37 MB / 0.5193 GB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001522/0.3695, allocations: 63.55 kB / 0.5194 GB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02787/0.3974, allocations: 9.714 MB / 0.5289 GB, free: 5.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.3974, allocations: 4 kB / 0.5289 GB, free: 5.23 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002489/0.3999, allocations: 0.8111 MB / 0.5297 GB, free: 4.422 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.4, allocations: 11.97 kB / 0.5297 GB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001412/0.4001, allocations: 42.34 kB / 0.5297 GB, free: 4.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.4006, allocations: 292.6 kB / 0.53 GB, free: 4.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002185/0.4008, allocations: 99.94 kB / 0.5301 GB, free: 3.973 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.4009, allocations: 16 kB / 0.5301 GB, free: 3.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006104/0.4015, allocations: 355.2 kB / 0.5304 GB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008688/0.4024, allocations: 0.5368 MB / 0.531 GB, free: 3.348 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4024, allocations: 4 kB / 0.531 GB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.4024, allocations: 8.547 kB / 0.531 GB, free: 3.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.4025, allocations: 8 kB / 0.531 GB, free: 3.332 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/0.4048, allocations: 1.554 MB / 0.5325 GB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006051/0.4054, allocations: 453.2 kB / 0.5329 GB, free: 1.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.4057, allocations: 269 kB / 0.5332 GB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.659e-05/0.4058, allocations: 8.234 kB / 0.5332 GB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003472/0.4062, allocations: 241.6 kB / 0.5334 GB, free: 1.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.753e-06/0.4062, allocations: 0 / 0.5334 GB, free: 1.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.00126/0.4074, allocations: 0.5777 MB / 0.534 GB, free: 0.9766 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.4075, allocations: 136.5 kB / 0.5341 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.4077, allocations: 195.3 kB / 0.5343 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.026e-05/0.4078, allocations: 25.7 kB / 0.5343 GB, free: 0.6133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/0.4079, allocations: 140.1 kB / 0.5345 GB, free: 496 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.394e-05/0.4079, allocations: 104.2 kB / 0.5346 GB, free: 404 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.408, allocations: 0 / 0.5346 GB, free: 404 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4081, allocations: 347.6 kB / 0.5349 GB, free: 60 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.4084, allocations: 162.5 kB / 0.5351 GB, free: 15.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003084/0.4087, allocations: 280.2 kB / 0.5353 GB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005684/0.4093, allocations: 224.6 kB / 0.5355 GB, free: 15.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4093, allocations: 3.938 kB / 0.5355 GB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001541/0.4108, allocations: 0.6384 MB / 0.5362 GB, free: 15.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.4108, allocations: 8.469 kB / 0.5362 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4109, allocations: 8 kB / 0.5362 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.4129, allocations: 400.7 kB / 0.5366 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003313/0.4132, allocations: 71.66 kB / 0.5366 GB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.415, allocations: 0.9697 MB / 0.5376 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003672/0.4154, allocations: 35.59 kB / 0.5376 GB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.4154, allocations: 19.55 kB / 0.5376 GB, free: 13.83 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: varLoad.U:VARIABLE(unit = "V" ) "Voltage at the load" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.varLoad.degradedMode,varLoad.degradedMode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {6 4} Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.4156, allocations: 120.9 kB / 0.5377 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002457/0.4159, allocations: 165.3 kB / 0.5379 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.417, allocations: 0.5445 MB / 0.5384 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.4171, allocations: 4 kB / 0.5384 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4171, allocations: 0 / 0.5384 GB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.4171, allocations: 4 kB / 0.5384 GB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004923/0.4176, allocations: 462.3 kB / 0.5389 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.4176, allocations: 0 / 0.5389 GB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004383/0.418, allocations: 91.75 kB / 0.539 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001954/0.42, allocations: 410.6 kB / 0.5394 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.137e-05/0.4201, allocations: 3.812 kB / 0.5394 GB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.4217, allocations: 0.9698 MB / 0.5403 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4217, allocations: 96 / 0.5403 GB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001179/0.4229, allocations: 0.6673 MB / 0.541 GB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.234e-05/0.423, allocations: 120.5 kB / 0.5411 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.954e-05/0.4231, allocations: 112 / 0.5411 GB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004489/0.4236, allocations: 51.89 kB / 0.5411 GB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.167e-05/0.4237, allocations: 23.77 kB / 0.5412 GB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.515e-05/0.4237, allocations: 16.05 kB / 0.5412 GB, free: 10.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001304/0.4239, allocations: 148.6 kB / 0.5413 GB, free: 10.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.4243, allocations: 91.83 kB / 0.5414 GB, free: 10.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {6 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002183/0.4245, allocations: 119.1 kB / 0.5415 GB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001568/0.4261, allocations: 0.5571 MB / 0.5421 GB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4261, allocations: 0 / 0.5421 GB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001074/0.4272, allocations: 292.9 kB / 0.5423 GB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003861/0.4276, allocations: 97.23 kB / 0.5424 GB, free: 9.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.4297, allocations: 0.5903 MB / 0.543 GB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004591/0.4302, allocations: 0.8312 MB / 0.5438 GB, free: 8.488 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4302, allocations: 0 / 0.5438 GB, free: 8.488 MB / 362.7 MB Notification: Performance of Templates: time 0.01031/0.4405, allocations: 5.293 MB / 0.549 GB, free: 3.227 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1)