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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000948/0.000948, allocations: 177.9 kB / 8.044 MB, free: 1.016 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.388/1.388, allocations: 221.5 MB / 230 MB, free: 3.141 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.0009771/0.0009769, allocations: 90.45 kB / 280.9 MB, free: 1.172 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05334/0.05334, allocations: 8.086 MB / 339.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.801e-05/1.802e-05, allocations: 4 kB / 398.5 MB, free: 67.69 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09921/0.09925, allocations: 52.51 MB / 451 MB, free: 15.17 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.4647, allocations: 81.41 MB / 0.5199 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.465, allocations: 66.28 kB / 0.52 GB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02544/0.4905, allocations: 10.04 MB / 0.5298 GB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.4905, allocations: 0 / 0.5298 GB, free: 4.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.4905, allocations: 4 kB / 0.5298 GB, free: 4.641 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.002212/0.4927, allocations: 0.7971 MB / 0.5306 GB, free: 3.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4928, allocations: 15.98 kB / 0.5306 GB, free: 3.832 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.553e-05/0.4929, allocations: 35.62 kB / 0.5306 GB, free: 3.797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.4933, allocations: 299.4 kB / 0.5309 GB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.4935, allocations: 99.88 kB / 0.531 GB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.4936, allocations: 12 kB / 0.531 GB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005159/0.4941, allocations: 353.4 kB / 0.5313 GB, free: 3.184 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.4949, allocations: 0.5281 MB / 0.5319 GB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4949, allocations: 0 / 0.5319 GB, free: 2.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.4949, allocations: 7.984 kB / 0.5319 GB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.495, allocations: 8 kB / 0.5319 GB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002059/0.497, allocations: 1.564 MB / 0.5334 GB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/0.4979, allocations: 0.5553 MB / 0.5339 GB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.4982, allocations: 259.2 kB / 0.5342 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.58e-05/0.4983, allocations: 20.36 kB / 0.5342 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003411/0.4987, allocations: 246.3 kB / 0.5344 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.4987, allocations: 0 / 0.5344 GB, free: 0.6875 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001122/0.4998, allocations: 0.5531 MB / 0.535 GB, free: 328 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.183e-05/0.4999, allocations: 143.8 kB / 0.5351 GB, free: 156 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.5001, allocations: 198 kB / 0.5353 GB, free: 15.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.5002, allocations: 34.52 kB / 0.5353 GB, free: 15.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.5003, allocations: 154.1 kB / 0.5355 GB, free: 15.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.142e-05/0.5004, allocations: 100.9 kB / 0.5356 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.253e-05/0.5004, allocations: 0 / 0.5356 GB, free: 15.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5006, allocations: 338.7 kB / 0.5359 GB, free: 15.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.5008, allocations: 160 kB / 0.5361 GB, free: 15.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.5012, allocations: 287.5 kB / 0.5363 GB, free: 15.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004862/0.5017, allocations: 215.1 kB / 0.5365 GB, free: 14.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5017, allocations: 0 / 0.5365 GB, free: 14.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001309/0.503, allocations: 0.6268 MB / 0.5372 GB, free: 14.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.503, allocations: 9.719 kB / 0.5372 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.5031, allocations: 7.938 kB / 0.5372 GB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.5049, allocations: 396.7 kB / 0.5375 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002789/0.5052, allocations: 75.2 kB / 0.5376 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001336/0.5065, allocations: 0.8991 MB / 0.5385 GB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.5069, allocations: 39.62 kB / 0.5385 GB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.5069, allocations: 15.75 kB / 0.5386 GB, free: 13.26 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.0002032/0.5071, allocations: 131.1 kB / 0.5387 GB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/0.5074, allocations: 165.1 kB / 0.5388 GB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.5084, allocations: 0.517 MB / 0.5393 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.5084, allocations: 8 kB / 0.5393 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.5085, allocations: 4 kB / 0.5394 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.5085, allocations: 7.938 kB / 0.5394 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.5112, allocations: 1.326 MB / 0.5407 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.5112, allocations: 0 / 0.5407 GB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.5116, allocations: 95.31 kB / 0.5407 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001737/0.5134, allocations: 401.1 kB / 0.5411 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.5135, allocations: 7.625 kB / 0.5411 GB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001314/0.5148, allocations: 0.9102 MB / 0.542 GB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-05/0.5148, allocations: 4 kB / 0.542 GB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.5171, allocations: 0.8993 MB / 0.5429 GB, free: 9.699 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5172, allocations: 112.2 kB / 0.543 GB, free: 9.574 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-05/0.5173, allocations: 4.078 kB / 0.543 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.5177, allocations: 43.91 kB / 0.5431 GB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/0.5178, allocations: 23.95 kB / 0.5431 GB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.5178, allocations: 17.5 kB / 0.5431 GB, free: 9.492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.518, allocations: 158.9 kB / 0.5432 GB, free: 9.367 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.518, allocations: 8 kB / 0.5433 GB, free: 9.359 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004562/0.5185, allocations: 83.84 kB / 0.5433 GB, free: 9.277 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.0002138/0.5187, allocations: 119.9 kB / 0.5434 GB, free: 9.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.5201, allocations: 0.5466 MB / 0.544 GB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.5201, allocations: 4.375 kB / 0.544 GB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009657/0.5211, allocations: 280.2 kB / 0.5443 GB, free: 8.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.5216, allocations: 102.7 kB / 0.5444 GB, free: 8.508 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.5236, allocations: 0.5651 MB / 0.5449 GB, free: 8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.524, allocations: 0.785 MB / 0.5457 GB, free: 7.191 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.5242, allocations: 43.25 kB / 0.5457 GB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.9e-05/0.5243, allocations: 30.67 kB / 0.5457 GB, free: 7.121 MB / 362.7 MB Notification: Performance of SimCode: time 4.038e-06/0.5243, allocations: 0 / 0.5457 GB, free: 7.121 MB / 362.7 MB Notification: Performance of Templates: time 0.009192/0.5335, allocations: 4.839 MB / 0.5505 GB, free: 2.312 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)