Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.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.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") translateModel(HanserModelica.VariablesTypes.InitializationParameters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.InitializationParameters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 183.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.03666/0.03666, allocations: 8.793 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.334/1.334, allocations: 222.9 MB / 251.3 MB, free: 7.512 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.0009919/0.000992, allocations: 101 kB / 303.6 MB, free: 14.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 71.89 kB / 366 MB, free: 168 kB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.196, allocations: 51.54 MB / 417.5 MB, free: 20.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001458/0.1975, allocations: 0.5809 MB / 418.1 MB, free: 20.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004686/0.198, allocations: 300.1 kB / 418.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.215e-05/0.198, allocations: 4 kB / 418.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.198, allocations: 0 / 418.4 MB, free: 20.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.1983, allocations: 51.88 kB / 418.5 MB, free: 19.99 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.426e-05/0.1984, allocations: 11.98 kB / 418.5 MB, free: 19.98 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.311e-05/0.1984, allocations: 31.84 kB / 418.5 MB, free: 19.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.414e-05/0.1985, allocations: 4 kB / 418.5 MB, free: 19.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/0.1985, allocations: 11.98 kB / 418.5 MB, free: 19.93 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002451/0.1988, allocations: 71.8 kB / 418.6 MB, free: 19.86 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.1988, allocations: 7.938 kB / 418.6 MB, free: 19.85 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.293e-05/0.1988, allocations: 4 kB / 418.6 MB, free: 19.85 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.201e-05/0.1989, allocations: 15.98 kB / 418.6 MB, free: 19.83 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.929e-05/0.1989, allocations: 19.8 kB / 418.6 MB, free: 19.81 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.614e-05/0.199, allocations: 35.91 kB / 418.7 MB, free: 19.78 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.199, allocations: 0 / 418.7 MB, free: 19.78 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.199, allocations: 0 / 418.7 MB, free: 19.78 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.062e-06/0.199, allocations: 0 / 418.7 MB, free: 19.78 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003635/0.1994, allocations: 387.1 kB / 419 MB, free: 19.34 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.1994, allocations: 12.03 kB / 419.1 MB, free: 19.33 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1995, allocations: 84.12 kB / 419.1 MB, free: 19.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.1996, allocations: 251.5 kB / 419.4 MB, free: 18.96 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.1996, allocations: 154.9 kB / 419.5 MB, free: 18.81 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1996, allocations: 154.9 kB / 419.7 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.544e-05/0.1997, allocations: 101.5 kB / 419.8 MB, free: 18.55 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1997, allocations: 83.41 kB / 419.9 MB, free: 18.47 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.1997, allocations: 166.4 kB / 420 MB, free: 18.31 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.1997, allocations: 150.6 kB / 420.2 MB, free: 18.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.995e-05/0.1998, allocations: 154.6 kB / 420.3 MB, free: 18.01 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.1999, allocations: 465.9 kB / 420.8 MB, free: 17.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.693e-05/0.2, allocations: 173.1 kB / 421 MB, free: 17.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.361e-05/0.2, allocations: 84.08 kB / 421 MB, free: 17.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.2, allocations: 75.28 kB / 421.1 MB, free: 17.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.459e-05/0.2, allocations: 105.8 kB / 421.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.2, allocations: 0 / 421.2 MB, free: 17.05 MB / 298.7 MB Notification: Performance of matching and sorting (n=0): time 8.188e-05/0.2001, allocations: 41.55 kB / 421.3 MB, free: 17 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.2002, allocations: 130.7 kB / 421.4 MB, free: 16.86 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/VariablesTypes/InitializationParameters.mo:5:3-5:28:writable] Warning: Parameter b has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2003, allocations: 152.1 kB / 421.5 MB, free: 16.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.376e-06/0.2003, allocations: 25.7 kB / 421.6 MB, free: 16.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.791e-05/0.2003, allocations: 92.05 kB / 421.6 MB, free: 16.58 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-06/0.2004, allocations: 0 / 421.6 MB, free: 16.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.2004, allocations: 25.7 kB / 421.7 MB, free: 16.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.466e-05/0.2004, allocations: 318.8 kB / 422 MB, free: 16.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.995e-05/0.2005, allocations: 27.92 kB / 422 MB, free: 16.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.102e-05/0.2005, allocations: 49.14 kB / 422.1 MB, free: 16.14 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.804e-05/0.2006, allocations: 94.78 kB / 422.1 MB, free: 16.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2006, allocations: 0 / 422.1 MB, free: 16.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003388/0.201, allocations: 331.2 kB / 422.5 MB, free: 15.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.201, allocations: 33.69 kB / 422.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.201, allocations: 4 kB / 422.5 MB, free: 15.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.2012, allocations: 41.69 kB / 422.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.2014, allocations: 23.98 kB / 422.6 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.2036, allocations: 5.181 MB / 427.8 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.476e-05/0.2037, allocations: 11.84 kB / 427.8 MB, free: 9.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.2037, allocations: 4 kB / 427.8 MB, free: 9.797 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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): 1 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.969e-05/0.2038, allocations: 207.3 kB / 428 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.2038, allocations: 108.9 kB / 428.1 MB, free: 9.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.034e-05/0.2039, allocations: 116.9 kB / 428.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/0.2039, allocations: 176.3 kB / 428.4 MB, free: 9.168 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.014e-05/0.2039, allocations: 188.2 kB / 428.5 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.864e-05/0.204, allocations: 180.3 kB / 428.7 MB, free: 8.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001692/0.2041, allocations: 417.2 kB / 429.1 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.06e-05/0.2042, allocations: 112.9 kB / 429.2 MB, free: 8.211 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.2042, allocations: 105.9 kB / 429.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.182e-05/0.2042, allocations: 188.2 kB / 429.5 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.2043, allocations: 176.3 kB / 429.7 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-05/0.2043, allocations: 180.3 kB / 429.9 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.923e-05/0.2043, allocations: 184.2 kB / 430.1 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002011/0.2045, allocations: 0.8533 MB / 430.9 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.2046, allocations: 193.9 kB / 431.1 MB, free: 6.227 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.652e-05/0.2046, allocations: 184.2 kB / 431.3 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.358e-05/0.2047, allocations: 101 kB / 431.4 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.2047, allocations: 188.2 kB / 431.6 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.2048, allocations: 109 kB / 431.7 MB, free: 5.629 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.112e-05/0.2048, allocations: 103.3 kB / 431.8 MB, free: 5.527 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2048, allocations: 0 / 431.8 MB, free: 5.527 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000378/0.2052, allocations: 12 kB / 431.8 MB, free: 5.516 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 7.37e-05/0.2053, allocations: 174.5 kB / 432 MB, free: 5.336 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006185/0.2059, allocations: 348.7 kB / 432.3 MB, free: 4.957 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2059, allocations: 4 kB / 432.3 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.535e-06/0.2059, allocations: 3.938 kB / 432.3 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.2062, allocations: 0.5275 MB / 432.8 MB, free: 4.422 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.2065, allocations: 231.3 kB / 433.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/0.2066, allocations: 0.6926 MB / 433.7 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.805e-05/0.2066, allocations: 0 / 433.7 MB, free: 3.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.2067, allocations: 11.42 kB / 433.8 MB, free: 3.438 MB / 298.7 MB Notification: Performance of SimCode: time 7.82e-07/0.2067, allocations: 0 / 433.8 MB, free: 3.438 MB / 298.7 MB Notification: Performance of Templates: time 0.002522/0.2092, allocations: 0.772 MB / 434.5 MB, free: 2.668 MB / 298.7 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.sim & ./HanserModelica_HanserModelica.VariablesTypes.InitializationParameters -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)