Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.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.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") translateModel(HanserModelica.VariablesTypes.ComplexCalculation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 182.2 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.03866/0.03866, allocations: 8.795 MB / 25.53 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.384/1.384, allocations: 222.9 MB / 251.3 MB, free: 7.422 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.0009956/0.0009958, allocations: 95.31 kB / 303.6 MB, free: 14.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 366 MB, free: 196 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1927, allocations: 51.55 MB / 417.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.ComplexCalculation): time 0.001922/0.1946, allocations: 1.45 MB / 419 MB, free: 19.48 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008793/0.1955, allocations: 0.8612 MB / 419.8 MB, free: 18.62 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.75e-05/0.1956, allocations: 0 / 419.8 MB, free: 18.62 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002311/0.1958, allocations: 79.73 kB / 419.9 MB, free: 18.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.868e-05/0.1959, allocations: 11.92 kB / 419.9 MB, free: 18.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006116/0.1965, allocations: 446.5 kB / 420.4 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1966, allocations: 35.8 kB / 420.4 MB, free: 18.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.848e-05/0.1967, allocations: 4 kB / 420.4 MB, free: 18.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.095e-05/0.1967, allocations: 19.92 kB / 420.4 MB, free: 18.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.102e-05/0.1968, allocations: 11.94 kB / 420.4 MB, free: 18.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.979e-06/0.1968, allocations: 0 / 420.4 MB, free: 18.02 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001748/0.197, allocations: 111.9 kB / 420.5 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.081e-05/0.197, allocations: 7.922 kB / 420.6 MB, free: 17.9 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.538e-05/0.197, allocations: 15.92 kB / 420.6 MB, free: 17.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001709/0.1972, allocations: 137.8 kB / 420.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.1972, allocations: 0 / 420.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.1972, allocations: 0 / 420.7 MB, free: 17.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.1972, allocations: 0 / 420.7 MB, free: 17.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007298/0.198, allocations: 423.3 kB / 421.1 MB, free: 17.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.198, allocations: 8.031 kB / 421.1 MB, free: 17.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.198, allocations: 8.844 kB / 421.1 MB, free: 17.28 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.579e-05/0.1981, allocations: 164.3 kB / 421.3 MB, free: 17.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1981, allocations: 8.375 kB / 421.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.1981, allocations: 384 / 421.3 MB, free: 17.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1982, allocations: 65.92 kB / 421.4 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.1983, allocations: 0 / 421.4 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.1983, allocations: 0 / 421.4 MB, free: 17 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1983, allocations: 7.938 kB / 421.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.354e-05/0.1984, allocations: 31.98 kB / 421.4 MB, free: 16.96 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001269/0.1985, allocations: 177.6 kB / 421.6 MB, free: 16.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.1986, allocations: 74.62 kB / 421.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.1987, allocations: 24.98 kB / 421.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.839e-05/0.1987, allocations: 0 / 421.7 MB, free: 16.63 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.1987, allocations: 38.44 kB / 421.7 MB, free: 16.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.1988, allocations: 0 / 421.7 MB, free: 16.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002063/0.199, allocations: 109.6 kB / 421.8 MB, free: 16.47 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.815e-05/0.199, allocations: 51.41 kB / 421.9 MB, free: 16.41 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.831e-05/0.199, allocations: 101.9 kB / 422 MB, free: 16.3 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.1991, allocations: 33.69 kB / 422 MB, free: 16.26 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.829e-05/0.1991, allocations: 84.14 kB / 422.1 MB, free: 16.17 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.1991, allocations: 19.7 kB / 422.1 MB, free: 16.15 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.1991, allocations: 17.72 kB / 422.1 MB, free: 16.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.856e-05/0.1992, allocations: 318.8 kB / 422.4 MB, free: 15.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.537e-05/0.1992, allocations: 12 kB / 422.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.1993, allocations: 23.98 kB / 422.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/0.1993, allocations: 48.8 kB / 422.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-06/0.1994, allocations: 4 kB / 422.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001023/0.1995, allocations: 81.69 kB / 422.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.1995, allocations: 7.938 kB / 422.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1995, allocations: 3.938 kB / 422.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.1995, allocations: 0 / 422.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.327e-05/0.1996, allocations: 8 kB / 422.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1996, allocations: 3.984 kB / 422.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.1997, allocations: 3.938 kB / 422.6 MB, free: 15.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.1997, allocations: 4 kB / 422.6 MB, free: 15.6 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.828e-05/0.1997, allocations: 122.2 kB / 422.8 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.17e-05/0.1997, allocations: 11.84 kB / 422.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001575/0.1999, allocations: 98.05 kB / 422.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1999, allocations: 3.984 kB / 422.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1999, allocations: 0.6875 kB / 422.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1999, allocations: 3.984 kB / 422.9 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.368e-05/0.2, allocations: 181.6 kB / 423 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2, allocations: 0 / 423 MB, free: 15.12 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.655e-05/0.2001, allocations: 16 kB / 423.1 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2001, allocations: 7.938 kB / 423.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.2001, allocations: 7.938 kB / 423.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.2001, allocations: 0 / 423.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2001, allocations: 0 / 423.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.2004, allocations: 0.6981 MB / 423.8 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.682e-05/0.2004, allocations: 88.95 kB / 423.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.225e-05/0.2005, allocations: 0 / 423.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.649e-05/0.2005, allocations: 4 kB / 423.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.2005, allocations: 11.98 kB / 423.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.2006, allocations: 0 / 423.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.951e-05/0.2006, allocations: 79.28 kB / 424 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2006, allocations: 0 / 424 MB, free: 14.14 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.2009, allocations: 16 kB / 424 MB, free: 14.12 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 (8): * Single equations (assignments): 8 * 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 8.586e-05/0.201, allocations: 119.2 kB / 424.1 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.2011, allocations: 55.91 kB / 424.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2011, allocations: 0 / 424.1 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.266e-05/0.2011, allocations: 28 kB / 424.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001306/0.2013, allocations: 4 kB / 424.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.2016, allocations: 314.4 kB / 424.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.483e-05/0.2017, allocations: 0.6848 MB / 425.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.083e-05/0.2017, allocations: 8 kB / 425.2 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.2018, allocations: 11.42 kB / 425.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2018, allocations: 0 / 425.2 MB, free: 12.83 MB / 298.7 MB Notification: Performance of Templates: time 0.002222/0.204, allocations: 0.7934 MB / 426 MB, free: 12.04 MB / 298.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.sim & ./HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.ComplexCalculation.pipe 2>&1)