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-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: "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.QfURegulation,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_QfURegulation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 101.2 kB / 16.31 MB, free: 5.879 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.001101/0.001101, allocations: 191 kB / 17.24 MB, free: 5.539 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.228/1.228, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04119/0.04119, allocations: 8.088 MB / 299.2 MB, free: 6.711 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 361.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.179, allocations: 51.52 MB / 413.3 MB, free: 25.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.QfURegulation): time 0.001474/0.1805, allocations: 0.7557 MB / 414.1 MB, free: 24.82 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008198/0.1813, allocations: 1.149 MB / 415.2 MB, free: 23.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.1814, allocations: 0 / 415.2 MB, free: 23.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.59e-05/0.1814, allocations: 7.922 kB / 415.3 MB, free: 23.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001589/0.1816, allocations: 19.86 kB / 415.3 MB, free: 23.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.927e-05/0.1817, allocations: 35.83 kB / 415.3 MB, free: 23.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.1818, allocations: 95.81 kB / 415.4 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.345e-05/0.1819, allocations: 8 kB / 415.4 MB, free: 23.49 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.182, allocations: 43.91 kB / 415.4 MB, free: 23.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.1821, allocations: 39.94 kB / 415.5 MB, free: 23.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.1821, allocations: 11.94 kB / 415.5 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.1821, allocations: 8 kB / 415.5 MB, free: 23.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.963e-05/0.1822, allocations: 31.91 kB / 415.5 MB, free: 23.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.1822, allocations: 39.84 kB / 415.6 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.101e-05/0.1823, allocations: 82.02 kB / 415.7 MB, free: 23.24 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1823, allocations: 0 / 415.7 MB, free: 23.24 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1823, allocations: 0 / 415.7 MB, free: 23.24 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1823, allocations: 4 kB / 415.7 MB, free: 23.23 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007598/0.1831, allocations: 451 kB / 416.1 MB, free: 22.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.1831, allocations: 11.89 kB / 416.1 MB, free: 22.73 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.664e-05/0.1832, allocations: 38.75 kB / 416.2 MB, free: 22.69 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.1832, allocations: 4.938 kB / 416.2 MB, free: 22.68 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.263e-05/0.1833, allocations: 176.2 kB / 416.3 MB, free: 22.47 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.1834, allocations: 62.23 kB / 416.4 MB, free: 22.41 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1835, allocations: 8.375 kB / 416.4 MB, free: 22.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009214/0.1844, allocations: 416.5 kB / 416.8 MB, free: 21.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.1844, allocations: 0 / 416.8 MB, free: 21.97 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1844, allocations: 7.984 kB / 416.8 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.1844, allocations: 4 kB / 416.8 MB, free: 21.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.1849, allocations: 167.8 kB / 417 MB, free: 21.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.1852, allocations: 373.8 kB / 417.3 MB, free: 21.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.186, allocations: 323.4 kB / 417.7 MB, free: 21.03 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003038/0.1863, allocations: 158.6 kB / 417.8 MB, free: 20.87 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.1863, allocations: 8 kB / 417.8 MB, free: 20.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.334e-05/0.1864, allocations: 34.56 kB / 417.9 MB, free: 20.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.051e-06/0.1864, allocations: 0 / 417.9 MB, free: 20.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009198/0.1873, allocations: 345.5 kB / 418.2 MB, free: 20.47 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1873, allocations: 114.9 kB / 418.3 MB, free: 20.34 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.132e-05/0.1874, allocations: 101.8 kB / 418.4 MB, free: 20.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.1874, allocations: 33.77 kB / 418.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.875e-05/0.1874, allocations: 84.3 kB / 418.5 MB, free: 20.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.1875, allocations: 19.81 kB / 418.5 MB, free: 20.08 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.1875, allocations: 29.72 kB / 418.6 MB, free: 20.05 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.32e-05/0.1875, allocations: 318.8 kB / 418.9 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.513e-05/0.1876, allocations: 23.98 kB / 418.9 MB, free: 19.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1876, allocations: 99.16 kB / 419 MB, free: 19.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.407e-05/0.1877, allocations: 127 kB / 419.1 MB, free: 19.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1877, allocations: 0 / 419.1 MB, free: 19.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001307/0.1878, allocations: 141.2 kB / 419.3 MB, free: 19.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.699e-06/0.1878, allocations: 8 kB / 419.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1878, allocations: 416 / 419.3 MB, free: 19.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.1879, allocations: 8 kB / 419.3 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.1879, allocations: 20 kB / 419.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.188, allocations: 11.92 kB / 419.3 MB, free: 19.21 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.188, allocations: 11.91 kB / 419.3 MB, free: 19.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.188, allocations: 8 kB / 419.3 MB, free: 19.19 MB / 302.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 5.014e-05/0.1881, allocations: 129.7 kB / 419.5 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000577/0.1887, allocations: 233.4 kB / 419.7 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.357e-05/0.1887, allocations: 53.66 kB / 419.7 MB, free: 18.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1888, allocations: 8.031 kB / 419.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1888, allocations: 0 / 419.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1888, allocations: 0 / 419.7 MB, free: 18.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001612/0.1889, allocations: 189.5 kB / 419.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.189, allocations: 0 / 419.9 MB, free: 18.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.1892, allocations: 43.91 kB / 420 MB, free: 18.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1892, allocations: 8 kB / 420 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.1892, allocations: 4 kB / 420 MB, free: 18.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.1892, allocations: 7.984 kB / 420 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1892, allocations: 0 / 420 MB, free: 18.45 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005971/0.1898, allocations: 431.3 kB / 420.4 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.63e-05/0.1898, allocations: 81.11 kB / 420.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.1899, allocations: 0 / 420.5 MB, free: 17.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.1901, allocations: 31.97 kB / 420.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.015e-05/0.1901, allocations: 0 / 420.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.677e-06/0.1901, allocations: 8 kB / 420.5 MB, free: 17.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 1.959e-05/0.1901, allocations: 87.27 kB / 420.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1901, allocations: 4 kB / 420.6 MB, free: 17.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000273/0.1904, allocations: 20 kB / 420.6 MB, free: 17.77 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: 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 0.0007062/0.1911, allocations: 0.9619 MB / 421.6 MB, free: 16.78 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.1915, allocations: 164 kB / 421.8 MB, free: 16.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.1915, allocations: 3.938 kB / 421.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.19e-05/0.1915, allocations: 11.94 kB / 421.8 MB, free: 16.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.1921, allocations: 132.6 kB / 421.9 MB, free: 16.47 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001966/0.1941, allocations: 1.831 MB / 423.7 MB, free: 14.47 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.274e-05/0.1942, allocations: 0.708 MB / 424.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.641e-05/0.1942, allocations: 8.422 kB / 424.5 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.1943, allocations: 23.42 kB / 424.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.1943, allocations: 0 / 424.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.97/1.164, allocations: 2.108 MB / 426.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.78, allocations: 8 kB / 426.6 MB, free: 11.63 MB / 302.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_QfURegulation_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_QfURegulation.fmu > PowerSysPro_PowerSysPro.Tests.QfURegulation.pipe 2>&1)