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.0009834/0.000983, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.248/1.248, allocations: 222.9 MB / 238.9 MB, free: 4.742 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.001552/0.001552, allocations: 188.5 kB / 289.1 MB, free: 2.492 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03135/0.03135, allocations: 8.785 MB / 348.1 MB, free: 4.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 72.67 kB / 410.4 MB, free: 42.4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07906, allocations: 51.57 MB / 462 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001502/0.0806, allocations: 0.5738 MB / 462.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005185/0.08113, allocations: 300.2 kB / 462.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.08116, allocations: 0 / 462.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.426e-05/0.0812, allocations: 4 kB / 462.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.08149, allocations: 47.89 kB / 462.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.665e-05/0.08155, allocations: 11.94 kB / 462.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.835e-05/0.0816, allocations: 23.91 kB / 462.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.08165, allocations: 7.984 kB / 462.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.417e-05/0.0817, allocations: 19.92 kB / 462.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.08197, allocations: 71.86 kB / 463 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.08199, allocations: 0 / 463 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.08201, allocations: 4 kB / 463 MB, free: 13.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.08206, allocations: 15.92 kB / 463 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.764e-05/0.0821, allocations: 19.86 kB / 463 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.043e-05/0.08217, allocations: 27.91 kB / 463.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.08218, allocations: 4 kB / 463.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.08218, allocations: 0 / 463.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.08219, allocations: 4 kB / 463.1 MB, free: 13.79 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.0004352/0.08263, allocations: 389.3 kB / 463.5 MB, free: 13.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.08267, allocations: 8.031 kB / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.18e-05/0.08273, allocations: 88.11 kB / 463.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.0829, allocations: 251.6 kB / 463.8 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/0.08296, allocations: 158.9 kB / 464 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.08302, allocations: 158.9 kB / 464.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.399e-05/0.08308, allocations: 105.5 kB / 464.2 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.08311, allocations: 75.47 kB / 464.3 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.08315, allocations: 154.5 kB / 464.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-05/0.08319, allocations: 154.5 kB / 464.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.08323, allocations: 158.6 kB / 464.7 MB, free: 12.01 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.08347, allocations: 473.8 kB / 465.2 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.572e-05/0.08355, allocations: 169.1 kB / 465.4 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.604e-05/0.08358, allocations: 80.14 kB / 465.4 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.08361, allocations: 79.28 kB / 465.5 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.08365, allocations: 109.8 kB / 465.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.08366, allocations: 0 / 465.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.864e-05/0.08373, allocations: 37.55 kB / 465.7 MB, free: 11 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.08378, allocations: 126.7 kB / 465.8 MB, free: 10.87 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.0001459/0.08393, allocations: 159.8 kB / 465.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.08396, allocations: 25.7 kB / 466 MB, free: 10.67 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.025e-05/0.08401, allocations: 92.14 kB / 466.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.08402, allocations: 0 / 466.1 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-05/0.08406, allocations: 29.69 kB / 466.1 MB, free: 10.54 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.891e-05/0.08416, allocations: 318.8 kB / 466.4 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.548e-05/0.0842, allocations: 11.98 kB / 466.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.437e-05/0.0843, allocations: 57.14 kB / 466.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.025e-05/0.08439, allocations: 94.78 kB / 466.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.0844, allocations: 0 / 466.6 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003955/0.0848, allocations: 326.9 kB / 466.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.08484, allocations: 37.69 kB / 466.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.08485, allocations: 0 / 466.9 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.08504, allocations: 45.88 kB / 467 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.08525, allocations: 27.98 kB / 467 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.08818, allocations: 5.181 MB / 472.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.681e-05/0.08825, allocations: 7.969 kB / 472.2 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.08827, allocations: 4 kB / 472.2 MB, free: 3.797 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.000111/0.08839, allocations: 210.6 kB / 472.4 MB, free: 3.582 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.08845, allocations: 112.8 kB / 472.5 MB, free: 3.465 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.08849, allocations: 108.9 kB / 472.6 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.75e-05/0.08854, allocations: 180.2 kB / 472.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.905e-05/0.0886, allocations: 180.2 kB / 473 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.243e-05/0.08866, allocations: 192.2 kB / 473.1 MB, free: 2.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.08886, allocations: 417.1 kB / 473.6 MB, free: 2.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-05/0.08889, allocations: 101 kB / 473.7 MB, free: 2.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.08893, allocations: 101 kB / 473.7 MB, free: 2.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.215e-05/0.08898, allocations: 184.2 kB / 473.9 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.08905, allocations: 188.2 kB / 474.1 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.242e-05/0.0891, allocations: 180.4 kB / 474.3 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.454e-05/0.08915, allocations: 176.3 kB / 474.5 MB, free: 1.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.08928, allocations: 323.6 kB / 474.8 MB, free: 1.027 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.604e-05/0.08935, allocations: 182.1 kB / 475 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.08941, allocations: 192.2 kB / 475.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/0.08948, allocations: 104.9 kB / 475.2 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.08954, allocations: 180.2 kB / 475.4 MB, free: 344 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.08957, allocations: 108.9 kB / 475.5 MB, free: 228 kB / 302.1 MB Notification: Performance of sorting global known variables: time 6.653e-05/0.08964, allocations: 113.2 kB / 475.6 MB, free: 116 kB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.08965, allocations: 0 / 475.6 MB, free: 116 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.0899, allocations: 11.94 kB / 475.6 MB, free: 104 kB / 302.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.906e-05/0.09, allocations: 182.5 kB / 475.8 MB, free: 15.91 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006592/0.09067, allocations: 336.7 kB / 476.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.09068, allocations: 384 / 476.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.382e-06/0.09069, allocations: 4 kB / 476.2 MB, free: 15.54 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.09102, allocations: 0.5271 MB / 476.7 MB, free: 15.01 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.09127, allocations: 243.3 kB / 476.9 MB, free: 14.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.09148, allocations: 0.6887 MB / 477.6 MB, free: 14.03 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.09151, allocations: 8 kB / 477.6 MB, free: 14.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.09154, allocations: 11.42 kB / 477.6 MB, free: 14.01 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.09154, allocations: 0 / 477.6 MB, free: 14.01 MB / 318.1 MB Notification: Performance of Templates: time 0.002544/0.09409, allocations: 0.7437 MB / 478.4 MB, free: 13.27 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)