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/ModelicaServices 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/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) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009124/0.0009125, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 191.2 kB / 291.3 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03404/0.03404, allocations: 8.798 MB / 351.2 MB, free: 4.57 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003318/0.0003319, allocations: 12.81 kB / 414.5 MB, free: 42.7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06495/0.06529, allocations: 52.55 MB / 467 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.0005161/0.06585, allocations: 250.2 kB / 467.3 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000506/0.06637, allocations: 292.2 kB / 467.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.85e-05/0.0664, allocations: 4 kB / 467.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.06643, allocations: 0 / 467.6 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.06671, allocations: 51.77 kB / 467.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.74e-05/0.06677, allocations: 11.98 kB / 467.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.459e-05/0.06683, allocations: 23.86 kB / 467.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.76e-05/0.06687, allocations: 7.984 kB / 467.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.107e-05/0.06693, allocations: 15.98 kB / 467.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.06718, allocations: 71.86 kB / 467.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.0672, allocations: 0 / 467.7 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.788e-06/0.06722, allocations: 4 kB / 467.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.324e-05/0.06727, allocations: 19.92 kB / 467.8 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.06731, allocations: 41.56 kB / 467.8 MB, free: 12.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.564e-05/0.06736, allocations: 23.97 kB / 467.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.06737, allocations: 0 / 467.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.06738, allocations: 0 / 467.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.06738, allocations: 0 / 467.8 MB, free: 12.3 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004022/0.06779, allocations: 389.3 kB / 468.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.06783, allocations: 12.03 kB / 468.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/0.06789, allocations: 84.06 kB / 468.3 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.06805, allocations: 261.4 kB / 468.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.081e-05/0.06811, allocations: 158.9 kB / 468.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.06817, allocations: 154.9 kB / 468.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.436e-05/0.06823, allocations: 109.5 kB / 469 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.06826, allocations: 75.47 kB / 469 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.06831, allocations: 158.5 kB / 469.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.06836, allocations: 150.6 kB / 469.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.06841, allocations: 154.5 kB / 469.5 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000288/0.06871, allocations: 469.9 kB / 470 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.06877, allocations: 165.1 kB / 470.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.548e-05/0.06883, allocations: 80.14 kB / 470.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.06886, allocations: 79.28 kB / 470.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.0689, allocations: 113.8 kB / 470.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.0689, allocations: 0 / 470.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.663e-05/0.06897, allocations: 41.48 kB / 470.4 MB, free: 9.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.222e-05/0.06902, allocations: 126.7 kB / 470.5 MB, free: 9.383 MB / 302.1 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.0001465/0.06918, allocations: 151.5 kB / 470.7 MB, free: 9.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.0692, allocations: 29.7 kB / 470.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.06924, allocations: 84.14 kB / 470.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.613e-06/0.06925, allocations: 4 kB / 470.8 MB, free: 9.102 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.06928, allocations: 17.72 kB / 470.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001056/0.06939, allocations: 322.8 kB / 471.1 MB, free: 8.754 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.691e-05/0.06943, allocations: 15.98 kB / 471.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.593e-05/0.0695, allocations: 57.12 kB / 471.2 MB, free: 8.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.671e-05/0.0696, allocations: 94.73 kB / 471.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.06961, allocations: 3.938 kB / 471.3 MB, free: 8.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003886/0.07, allocations: 331 kB / 471.6 MB, free: 8.164 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.07004, allocations: 29.7 kB / 471.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.07005, allocations: 4 kB / 471.7 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001727/0.07023, allocations: 41.69 kB / 471.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.07046, allocations: 32.05 kB / 471.7 MB, free: 8.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.07369, allocations: 5.181 MB / 476.9 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.173e-05/0.07376, allocations: 7.938 kB / 476.9 MB, free: 2.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.07379, allocations: 4 kB / 476.9 MB, free: 2.32 MB / 302.1 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 0.0001101/0.0739, allocations: 213.7 kB / 477.1 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.07396, allocations: 105 kB / 477.2 MB, free: 1.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.41e-05/0.07401, allocations: 112.8 kB / 477.4 MB, free: 1.871 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/0.07407, allocations: 180.2 kB / 477.5 MB, free: 1.688 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.138e-05/0.07412, allocations: 176.3 kB / 477.7 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/0.07418, allocations: 188.2 kB / 477.9 MB, free: 1.316 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002127/0.0744, allocations: 421.1 kB / 478.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/0.07444, allocations: 101 kB / 478.4 MB, free: 0.7422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.463e-05/0.07448, allocations: 104.9 kB / 478.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.615e-05/0.07454, allocations: 184.2 kB / 478.7 MB, free: 456 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.07459, allocations: 180.2 kB / 478.9 MB, free: 268 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.409e-05/0.07465, allocations: 184.5 kB / 479 MB, free: 76 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.671e-05/0.07472, allocations: 188.2 kB / 479.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.07485, allocations: 311.7 kB / 479.5 MB, free: 15.55 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.07493, allocations: 193.9 kB / 479.7 MB, free: 15.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.033e-05/0.075, allocations: 184.3 kB / 479.9 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.07507, allocations: 101 kB / 480 MB, free: 15.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/0.07514, allocations: 180.2 kB / 480.2 MB, free: 14.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.07518, allocations: 104.9 kB / 480.3 MB, free: 14.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.07525, allocations: 116.8 kB / 480.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.07526, allocations: 0 / 480.4 MB, free: 14.64 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000264/0.07553, allocations: 11.94 kB / 480.4 MB, free: 14.63 MB / 318.1 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 9.114e-05/0.07563, allocations: 170.5 kB / 480.6 MB, free: 14.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005629/0.0762, allocations: 344.7 kB / 480.9 MB, free: 14.08 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.07622, allocations: 3.938 kB / 480.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.07622, allocations: 384 / 480.9 MB, free: 14.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.07659, allocations: 0.5224 MB / 481.4 MB, free: 13.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.07686, allocations: 259.6 kB / 481.7 MB, free: 13.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.07711, allocations: 0.6887 MB / 482.4 MB, free: 12.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.206e-05/0.07713, allocations: 7.438 kB / 482.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.713e-06/0.07714, allocations: 0 / 482.4 MB, free: 12.54 MB / 318.1 MB Notification: Performance of Templates: time 0.002522/0.07967, allocations: 1.12 MB / 483.5 MB, free: 11.42 MB / 318.1 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)