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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007849/0.0007849, allocations: 93.94 kB / 16.71 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008218/0.0008219, allocations: 177.9 kB / 17.62 MB, free: 5.855 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 223.3 MB / 241.7 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04187/0.04187, allocations: 8.098 MB / 300.9 MB, free: 6.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003217/0.0003218, allocations: 8 kB / 364.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1944, allocations: 52.51 MB / 416.7 MB, free: 24.86 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.001636/0.1961, allocations: 1.722 MB / 418.4 MB, free: 23.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1977, allocations: 1.61 MB / 420 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.869e-05/0.1978, allocations: 4 kB / 420 MB, free: 21.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002792/0.1981, allocations: 123.5 kB / 420.1 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004645/0.1986, allocations: 207 kB / 420.3 MB, free: 21.18 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.2002, allocations: 1.156 MB / 421.5 MB, free: 20.03 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003369/0.2005, allocations: 358.6 kB / 421.8 MB, free: 19.68 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2007, allocations: 93.5 kB / 421.9 MB, free: 19.58 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001918/0.2009, allocations: 143.5 kB / 422.1 MB, free: 19.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2011, allocations: 183.2 kB / 422.2 MB, free: 19.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.727e-05/0.2012, allocations: 20 kB / 422.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00036/0.2015, allocations: 271.7 kB / 422.5 MB, free: 18.98 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.2016, allocations: 67.73 kB / 422.6 MB, free: 18.91 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.2017, allocations: 192.8 kB / 422.8 MB, free: 18.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000326/0.2021, allocations: 399 kB / 423.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2021, allocations: 0 / 423.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2021, allocations: 3.938 kB / 423.2 MB, free: 18.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.2021, allocations: 0 / 423.2 MB, free: 18.32 MB / 302.1 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.003554/0.2056, allocations: 1.076 MB / 424.2 MB, free: 17.19 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.2057, allocations: 11.97 kB / 424.3 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.169e-05/0.2058, allocations: 36.56 kB / 424.3 MB, free: 17.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.2061, allocations: 295.6 kB / 424.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002103/0.2063, allocations: 116.5 kB / 424.7 MB, free: 16.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.2063, allocations: 32.38 kB / 424.7 MB, free: 16.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.2078, allocations: 0.7293 MB / 425.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2078, allocations: 3.938 kB / 425.5 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.2079, allocations: 12 kB / 425.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2079, allocations: 11.94 kB / 425.5 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009467/0.2089, allocations: 477.4 kB / 425.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/0.2106, allocations: 1.549 MB / 427.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.2121, allocations: 0.7311 MB / 428.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005536/0.2126, allocations: 330.4 kB / 428.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.2128, allocations: 93.25 kB / 428.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003418/0.2131, allocations: 277.6 kB / 428.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.2131, allocations: 0 / 428.9 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.003444/0.2166, allocations: 1.242 MB / 430.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.2167, allocations: 136.5 kB / 430.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.2169, allocations: 232 kB / 430.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.848e-05/0.217, allocations: 37.7 kB / 430.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.2171, allocations: 152.8 kB / 430.7 MB, free: 10.36 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.482e-05/0.2171, allocations: 114.4 kB / 430.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.444e-05/0.2172, allocations: 49.69 kB / 430.9 MB, free: 10.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.2173, allocations: 338.8 kB / 431.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.2176, allocations: 201 kB / 431.4 MB, free: 9.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003462/0.2179, allocations: 340.4 kB / 431.7 MB, free: 9.266 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.2185, allocations: 0.5414 MB / 432.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.2185, allocations: 0 / 432.3 MB, free: 8.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001437/0.22, allocations: 0.7981 MB / 433.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.22, allocations: 8 kB / 433.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.22, allocations: 4 kB / 433.1 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/0.2223, allocations: 476.2 kB / 433.5 MB, free: 7.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003177/0.2226, allocations: 91.88 kB / 433.6 MB, free: 7.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001306/0.2239, allocations: 0.8997 MB / 434.5 MB, free: 6.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.2243, allocations: 59.44 kB / 434.6 MB, free: 6.316 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.2243, allocations: 24 kB / 434.6 MB, free: 6.293 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.2245, allocations: 161.8 kB / 434.8 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006686/0.2252, allocations: 269.1 kB / 435 MB, free: 5.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009848/0.2262, allocations: 0.5709 MB / 435.6 MB, free: 5.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.393e-06/0.2262, allocations: 11.97 kB / 435.6 MB, free: 5.262 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2262, allocations: 7.938 kB / 435.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.2262, allocations: 0 / 435.6 MB, free: 5.254 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00226/0.2285, allocations: 1.389 MB / 437 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.2285, allocations: 4 kB / 437 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003731/0.2289, allocations: 87.88 kB / 437.1 MB, free: 3.715 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002062/0.231, allocations: 468.9 kB / 437.6 MB, free: 3.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.231, allocations: 16 kB / 437.6 MB, free: 3.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/0.2323, allocations: 0.9036 MB / 438.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.2323, allocations: 0 / 438.5 MB, free: 2.309 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.2348, allocations: 1.016 MB / 439.5 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.2349, allocations: 116.6 kB / 439.6 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.2349, allocations: 11.94 kB / 439.6 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.2354, allocations: 59.89 kB / 439.7 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.2355, allocations: 19.97 kB / 439.7 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.2355, allocations: 16 kB / 439.7 MB, free: 1.023 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000134/0.2356, allocations: 175 kB / 439.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2356, allocations: 0 / 439.9 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004681/0.2361, allocations: 111.8 kB / 440 MB, free: 0.7422 MB / 302.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000192/0.2363, allocations: 131.2 kB / 440.1 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.2382, allocations: 0.6822 MB / 440.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.2382, allocations: 4 kB / 440.8 MB, free: 15.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001138/0.2393, allocations: 324.5 kB / 441.1 MB, free: 15.6 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008266/0.2402, allocations: 172.6 kB / 441.3 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.2427, allocations: 1.02 MB / 442.3 MB, free: 14.38 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.2431, allocations: 0.7735 MB / 443.1 MB, free: 13.59 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.2432, allocations: 39.42 kB / 443.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2432, allocations: 0 / 443.1 MB, free: 13.55 MB / 318.1 MB Notification: Performance of Templates: time 0.008411/0.2516, allocations: 5.833 MB / 449 MB, free: 7.703 MB / 318.1 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)