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.001066/0.001066, allocations: 116.4 kB / 16.37 MB, free: 6 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.334/1.334, allocations: 222.9 MB / 240 MB, free: 4.531 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.00132/0.00132, allocations: 184.5 kB / 290.3 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03534/0.03534, allocations: 8.793 MB / 349.3 MB, free: 4.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001548, allocations: 78.97 kB / 412.5 MB, free: 41.71 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07708/0.07864, allocations: 51.56 MB / 464.1 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001546/0.08022, allocations: 0.5129 MB / 464.6 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000511/0.08074, allocations: 300.1 kB / 464.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.08079, allocations: 0 / 464.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.08084, allocations: 3.938 kB / 464.9 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003089/0.08115, allocations: 55.81 kB / 465 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.007e-05/0.08121, allocations: 15.92 kB / 465 MB, free: 12.66 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 NFFlatten.flatten: time 0.0001081/0.08133, allocations: 27.91 kB / 465 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.769e-05/0.08137, allocations: 7.984 kB / 465 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.08142, allocations: 11.94 kB / 465 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.08168, allocations: 59.92 kB / 465.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.0817, allocations: 4 kB / 465.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.738e-06/0.08172, allocations: 0 / 465.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.08176, allocations: 15.92 kB / 465.1 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.0818, allocations: 15.88 kB / 465.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.562e-05/0.08187, allocations: 31.84 kB / 465.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.08188, allocations: 0 / 465.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.08189, allocations: 0 / 465.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.0819, allocations: 4 kB / 465.1 MB, free: 12.48 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.0004301/0.08233, allocations: 396.9 kB / 465.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.08237, allocations: 12.03 kB / 465.5 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.885e-05/0.08243, allocations: 80.12 kB / 465.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.0826, allocations: 251.6 kB / 465.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.08266, allocations: 158.9 kB / 466 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.08272, allocations: 154.9 kB / 466.2 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.019e-05/0.08277, allocations: 113.4 kB / 466.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.0828, allocations: 75.47 kB / 466.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.402e-05/0.08285, allocations: 154.5 kB / 466.5 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-05/0.08289, allocations: 150.6 kB / 466.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.99e-05/0.08294, allocations: 154.6 kB / 466.8 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002454/0.08319, allocations: 465.9 kB / 467.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.636e-05/0.08326, allocations: 177.1 kB / 467.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.471e-05/0.0833, allocations: 80.14 kB / 467.5 MB, free: 9.938 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.08333, allocations: 79.28 kB / 467.6 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.08337, allocations: 109.8 kB / 467.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/0.08337, allocations: 0 / 467.7 MB, free: 9.742 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.806e-05/0.08345, allocations: 41.53 kB / 467.7 MB, free: 9.695 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.0835, allocations: 134.6 kB / 467.9 MB, free: 9.551 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.000148/0.08365, allocations: 147.9 kB / 468 MB, free: 9.398 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.08368, allocations: 29.7 kB / 468 MB, free: 9.363 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.08372, allocations: 96.12 kB / 468.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.633e-06/0.08373, allocations: 0 / 468.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.159e-05/0.08378, allocations: 29.7 kB / 468.2 MB, free: 9.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.227e-05/0.08387, allocations: 314.8 kB / 468.5 MB, free: 8.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.08392, allocations: 19.98 kB / 468.5 MB, free: 8.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.08398, allocations: 49.14 kB / 468.5 MB, free: 8.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.223e-05/0.08408, allocations: 98.78 kB / 468.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.08409, allocations: 0 / 468.6 MB, free: 8.707 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004064/0.0845, allocations: 338.9 kB / 469 MB, free: 8.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/0.08454, allocations: 33.7 kB / 469 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.08455, allocations: 0 / 469 MB, free: 8.281 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.08473, allocations: 41.88 kB / 469 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.08497, allocations: 27.98 kB / 469.1 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003204/0.08819, allocations: 5.56 MB / 474.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.08826, allocations: 11.88 kB / 474.6 MB, free: 2.074 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.08828, allocations: 4 kB / 474.6 MB, free: 2.07 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.0001059/0.08839, allocations: 217.7 kB / 474.9 MB, free: 1.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.505e-05/0.08845, allocations: 104.9 kB / 475 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.79e-05/0.0885, allocations: 108.9 kB / 475.1 MB, free: 1.621 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/0.08855, allocations: 180.2 kB / 475.2 MB, free: 1.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.076e-05/0.08861, allocations: 180.2 kB / 475.4 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-05/0.08867, allocations: 184.3 kB / 475.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.08889, allocations: 421.1 kB / 476 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-05/0.08893, allocations: 101 kB / 476.1 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.08896, allocations: 104.9 kB / 476.2 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.257e-05/0.08902, allocations: 184.2 kB / 476.4 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.273e-05/0.08908, allocations: 180.3 kB / 476.6 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.508e-05/0.08915, allocations: 192.1 kB / 476.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.606e-05/0.0892, allocations: 176.5 kB / 476.9 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.08933, allocations: 323.6 kB / 477.2 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.715e-05/0.0894, allocations: 182 kB / 477.4 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.08946, allocations: 184.2 kB / 477.6 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.935e-05/0.08954, allocations: 109 kB / 477.7 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.928e-05/0.0896, allocations: 180.2 kB / 477.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.08964, allocations: 101 kB / 478 MB, free: 14.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.853e-05/0.08971, allocations: 117.1 kB / 478.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08972, allocations: 0 / 478.1 MB, free: 14.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.08998, allocations: 12 kB / 478.1 MB, free: 14.38 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 8.592e-05/0.09007, allocations: 174.5 kB / 478.3 MB, free: 14.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006987/0.09078, allocations: 340.7 kB / 478.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.0908, allocations: 0 / 478.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.0908, allocations: 4.312 kB / 478.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.09114, allocations: 469.2 kB / 479.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.09141, allocations: 228.3 kB / 479.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.09166, allocations: 0.6963 MB / 480 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.342e-05/0.09169, allocations: 0 / 480 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.09172, allocations: 11.42 kB / 480 MB, free: 12.38 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.09172, allocations: 0 / 480 MB, free: 12.38 MB / 318.1 MB Notification: Performance of Templates: time 0.002744/0.09447, allocations: 0.7486 MB / 480.8 MB, free: 11.63 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 -s gbode -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.InitializationParameters.pipe 2>&1)