Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.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/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 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.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") translateModel(PowerSysPro.Tests.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.QfURegulation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003376/0.003376, allocations: 88.3 kB / 15.91 MB, free: 6.301 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.0008706/0.0008706, allocations: 199 kB / 16.83 MB, free: 6.234 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.195/1.195, allocations: 222.9 MB / 240.5 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1428/0.1428, allocations: 8.093 MB / 298.7 MB, free: 2.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 59.91 kB / 361 MB, free: 13.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08651, allocations: 51.51 MB / 412.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.002013/0.08855, allocations: 0.832 MB / 413.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.08981, allocations: 1.151 MB / 414.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.678e-05/0.08987, allocations: 0 / 414.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.196e-05/0.08994, allocations: 7.938 kB / 414.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.09012, allocations: 11.91 kB / 414.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001313/0.09026, allocations: 27.98 kB / 414.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.09042, allocations: 95.8 kB / 414.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.413e-05/0.09051, allocations: 11.92 kB / 414.7 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.754e-05/0.0906, allocations: 31.92 kB / 414.7 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.09072, allocations: 51.88 kB / 414.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.09075, allocations: 4 kB / 414.8 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.09077, allocations: 4 kB / 414.8 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.09082, allocations: 27.95 kB / 414.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.67e-05/0.09089, allocations: 35.8 kB / 414.8 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.09099, allocations: 80 kB / 414.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.091, allocations: 0 / 414.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.09101, allocations: 0 / 414.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.09101, allocations: 0 / 414.9 MB, free: 7.777 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008361/0.09186, allocations: 439.3 kB / 415.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.09189, allocations: 8.031 kB / 415.3 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.569e-05/0.09193, allocations: 8.844 kB / 415.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.09204, allocations: 180.2 kB / 415.5 MB, free: 7.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.09221, allocations: 62.23 kB / 415.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.09224, allocations: 8.375 kB / 415.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.0933, allocations: 417.5 kB / 416 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.09332, allocations: 0 / 416 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.09333, allocations: 0 / 416 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.09334, allocations: 4 kB / 416 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005384/0.09389, allocations: 163.8 kB / 416.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.09424, allocations: 377.8 kB / 416.5 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/0.09514, allocations: 319.6 kB / 416.8 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.0955, allocations: 154.6 kB / 417 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.102e-05/0.09553, allocations: 4 kB / 417 MB, free: 5.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.09556, allocations: 42.5 kB / 417 MB, free: 5.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.022e-06/0.09557, allocations: 0 / 417 MB, free: 5.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009969/0.09657, allocations: 345.7 kB / 417.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.566e-05/0.09665, allocations: 110.8 kB / 417.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.09672, allocations: 97.84 kB / 417.6 MB, free: 4.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.094e-05/0.09675, allocations: 37.64 kB / 417.6 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.465e-05/0.09679, allocations: 84.08 kB / 417.7 MB, free: 4.711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.91e-05/0.09682, allocations: 19.95 kB / 417.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-05/0.09685, allocations: 25.72 kB / 417.7 MB, free: 4.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.794e-05/0.09695, allocations: 322.8 kB / 418.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.09698, allocations: 19.98 kB / 418.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.09705, allocations: 99.16 kB / 418.2 MB, free: 4.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.09718, allocations: 131 kB / 418.3 MB, free: 4.012 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.09719, allocations: 4 kB / 418.3 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001622/0.09736, allocations: 133.3 kB / 418.4 MB, free: 3.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.09738, allocations: 8 kB / 418.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.09739, allocations: 4 kB / 418.4 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.0974, allocations: 4 kB / 418.5 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.474e-05/0.09749, allocations: 28.33 kB / 418.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.0975, allocations: 8 kB / 418.5 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.09756, allocations: 8 kB / 418.5 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.09757, allocations: 4 kB / 418.5 MB, free: 3.809 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.524e-05/0.09765, allocations: 133.7 kB / 418.6 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006294/0.09829, allocations: 233.4 kB / 418.9 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.215e-05/0.09839, allocations: 57.78 kB / 418.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.0984, allocations: 4 kB / 418.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.09841, allocations: 3.984 kB / 418.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.09842, allocations: 4.031 kB / 418.9 MB, free: 3.359 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.09863, allocations: 193.4 kB / 419.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.09864, allocations: 0 / 419.1 MB, free: 3.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.09887, allocations: 47.97 kB / 419.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.09888, allocations: 0 / 419.2 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.0989, allocations: 3.938 kB / 419.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.09891, allocations: 11.98 kB / 419.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.09891, allocations: 0 / 419.2 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006768/0.09959, allocations: 425.6 kB / 419.6 MB, free: 2.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.09963, allocations: 85.05 kB / 419.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.09966, allocations: 8 kB / 419.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.09988, allocations: 23.97 kB / 419.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.0999, allocations: 4 kB / 419.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.09991, allocations: 0 / 419.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.412e-05/0.09995, allocations: 87.27 kB / 419.8 MB, free: 2.402 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09996, allocations: 7.938 kB / 419.8 MB, free: 2.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1002, allocations: 16 kB / 419.8 MB, free: 2.379 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 6.766e-05/0.1003, allocations: 95.25 kB / 419.9 MB, free: 2.277 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003796/0.1007, allocations: 159.7 kB / 420.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1007, allocations: 0 / 420.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.516e-05/0.1007, allocations: 15.86 kB / 420.1 MB, free: 2.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.1014, allocations: 128.9 kB / 420.2 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.1028, allocations: 422.3 kB / 420.6 MB, free: 1.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.1031, allocations: 0.6971 MB / 421.3 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.1031, allocations: 12.42 kB / 421.3 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.1031, allocations: 11.44 kB / 421.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1031, allocations: 0 / 421.3 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of Templates: time 0.002568/0.1057, allocations: 0.9592 MB / 422.3 MB, free: 15.83 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.QfURegulation.makefile (rm -f PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Tests.QfURegulation -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)