Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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/HanserModelica 2.0.0-master/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) 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 HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03845/0.03845, allocations: 8.794 MB / 25.52 MB, free: 3.754 MB / 18.57 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: 222.9 MB / 251.3 MB, free: 7.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000973/0.000973, allocations: 106.3 kB / 303.6 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 63.91 kB / 366 MB, free: 196 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.195, allocations: 51.54 MB / 417.5 MB, free: 20.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002028/0.1971, allocations: 1.331 MB / 418.9 MB, free: 19.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 3.619e-05/0.1972, allocations: 11.92 kB / 418.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.354e-05/0.1972, allocations: 0 / 418.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.422e-05/0.1972, allocations: 3.984 kB / 418.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.1973, allocations: 4 kB / 418.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.26e-05/0.1973, allocations: 0 / 418.9 MB, free: 19.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.16e-05/0.1974, allocations: 11.94 kB / 418.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.82e-05/0.1974, allocations: 0 / 418.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.541e-05/0.1974, allocations: 4 kB / 418.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.918e-05/0.1975, allocations: 3.938 kB / 418.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1975, allocations: 0 / 418.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.13e-06/0.1975, allocations: 0 / 418.9 MB, free: 19.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.189e-05/0.1975, allocations: 4 kB / 418.9 MB, free: 19.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.695e-05/0.1975, allocations: 11.88 kB / 418.9 MB, free: 19.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.497e-05/0.1976, allocations: 11.98 kB / 418.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1976, allocations: 4 kB / 418.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1976, allocations: 0 / 418.9 MB, free: 19.54 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.905e-06/0.1976, allocations: 0 / 418.9 MB, free: 19.54 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002376/0.1979, allocations: 317.6 kB / 419.2 MB, free: 19.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.1979, allocations: 8.031 kB / 419.2 MB, free: 19.17 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.322e-05/0.1979, allocations: 4.938 kB / 419.2 MB, free: 19.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.321e-05/0.198, allocations: 168.4 kB / 419.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.198, allocations: 4.312 kB / 419.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.813e-06/0.198, allocations: 4.375 kB / 419.4 MB, free: 18.95 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.594e-05/0.1981, allocations: 43.97 kB / 419.5 MB, free: 18.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.1981, allocations: 192 / 419.5 MB, free: 18.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.372e-06/0.1981, allocations: 7.938 kB / 419.5 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.1981, allocations: 0 / 419.5 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.311e-05/0.1981, allocations: 3.938 kB / 419.5 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001975/0.1983, allocations: 475.7 kB / 419.9 MB, free: 18.37 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.092e-05/0.1984, allocations: 169.1 kB / 420.1 MB, free: 18.19 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.587e-05/0.1984, allocations: 84.14 kB / 420.2 MB, free: 18.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.1984, allocations: 75.28 kB / 420.3 MB, free: 18.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.1984, allocations: 105.8 kB / 420.4 MB, free: 17.92 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.1984, allocations: 11.94 kB / 420.4 MB, free: 17.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 5.087e-05/0.1985, allocations: 25.7 kB / 420.4 MB, free: 17.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.1985, allocations: 130.7 kB / 420.5 MB, free: 17.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.885e-05/0.1986, allocations: 101.9 kB / 420.6 MB, free: 17.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.019e-06/0.1986, allocations: 25.7 kB / 420.7 MB, free: 17.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.1986, allocations: 91.97 kB / 420.7 MB, free: 17.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-06/0.1986, allocations: 4 kB / 420.7 MB, free: 17.5 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.014e-05/0.1987, allocations: 13.72 kB / 420.8 MB, free: 17.48 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.507e-05/0.1987, allocations: 314.8 kB / 421.1 MB, free: 17.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.644e-06/0.1987, allocations: 4 kB / 421.1 MB, free: 17.16 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.788e-06/0.1987, allocations: 13.72 kB / 421.1 MB, free: 17.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.103e-05/0.1988, allocations: 17.66 kB / 421.1 MB, free: 17.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1988, allocations: 3.938 kB / 421.1 MB, free: 17.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.436e-05/0.1988, allocations: 53.84 kB / 421.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.1989, allocations: 10.19 kB / 421.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1989, allocations: 0 / 421.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1989, allocations: 0 / 421.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.967e-05/0.1989, allocations: 8 kB / 421.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.1989, allocations: 0 / 421.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.748e-05/0.199, allocations: 0 / 421.2 MB, free: 17.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.199, allocations: 4 kB / 421.2 MB, free: 17.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 4.355e-05/0.199, allocations: 197.5 kB / 421.4 MB, free: 16.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.288e-05/0.1991, allocations: 105 kB / 421.5 MB, free: 16.72 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.286e-05/0.1991, allocations: 120.1 kB / 421.6 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.1991, allocations: 180.3 kB / 421.8 MB, free: 16.41 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/0.1991, allocations: 180.2 kB / 421.9 MB, free: 16.23 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.971e-05/0.1992, allocations: 180.3 kB / 422.1 MB, free: 16.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.1993, allocations: 409.2 kB / 422.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.1993, allocations: 104.9 kB / 422.6 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.336e-05/0.1993, allocations: 112.9 kB / 422.7 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.066e-05/0.1993, allocations: 180.2 kB / 422.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.15e-05/0.1994, allocations: 176.3 kB / 423.1 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.056e-05/0.1994, allocations: 184.3 kB / 423.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-05/0.1994, allocations: 185.1 kB / 423.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.1996, allocations: 0.8376 MB / 424.3 MB, free: 13.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.051e-05/0.1996, allocations: 189.9 kB / 424.5 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.1996, allocations: 180.3 kB / 424.6 MB, free: 13.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.592e-05/0.1997, allocations: 109.3 kB / 424.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.655e-05/0.1997, allocations: 188.1 kB / 424.9 MB, free: 13.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.378e-05/0.1998, allocations: 101 kB / 425 MB, free: 12.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.101e-05/0.1998, allocations: 83.27 kB / 425.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1998, allocations: 0 / 425.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003061/0.2001, allocations: 4 kB / 425.1 MB, free: 12.83 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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 5.957e-05/0.2002, allocations: 174.5 kB / 425.3 MB, free: 12.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.041e-05/0.2002, allocations: 11.95 kB / 425.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2002, allocations: 0 / 425.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.2002, allocations: 0 / 425.3 MB, free: 12.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002432/0.2005, allocations: 0.5226 MB / 425.8 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001383/0.2006, allocations: 166 kB / 426 MB, free: 11.91 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.78e-05/0.2007, allocations: 0.6731 MB / 426.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.244e-05/0.2007, allocations: 3.984 kB / 426.7 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.2008, allocations: 11.38 kB / 426.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2008, allocations: 4 kB / 426.7 MB, free: 11.2 MB / 298.7 MB Notification: Performance of Templates: time 0.001429/0.2022, allocations: 193.3 kB / 426.9 MB, free: 11.01 MB / 298.7 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1)