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.001111/0.001111, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.317/1.317, allocations: 222.9 MB / 240.1 MB, free: 4.391 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.001333/0.001333, allocations: 192.5 kB / 290.4 MB, free: 2.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03472/0.03472, allocations: 8.799 MB / 349.3 MB, free: 4.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 79.88 kB / 464.6 MB, free: 13.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08747, allocations: 51.57 MB / 0.504 GB, free: 9.461 MB / 350.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) as default value. Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.InitializationParameters): time 0.001527/0.08905, allocations: 0.5112 MB / 0.5045 GB, free: 8.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005374/0.08959, allocations: 300.1 kB / 0.5048 GB, free: 8.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.08964, allocations: 3.938 kB / 0.5048 GB, free: 8.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.08968, allocations: 3.938 kB / 0.5048 GB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.09003, allocations: 55.77 kB / 0.5049 GB, free: 8.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.61e-05/0.0901, allocations: 19.91 kB / 0.5049 GB, free: 8.574 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.09022, allocations: 23.98 kB / 0.5049 GB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.107e-05/0.09026, allocations: 4 kB / 0.5049 GB, free: 8.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.09032, allocations: 15.92 kB / 0.5049 GB, free: 8.531 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002685/0.0906, allocations: 59.88 kB / 0.505 GB, free: 8.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.09062, allocations: 0 / 0.505 GB, free: 8.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.253e-05/0.09064, allocations: 0 / 0.505 GB, free: 8.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.459e-05/0.09069, allocations: 15.92 kB / 0.505 GB, free: 8.457 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.43e-05/0.09073, allocations: 27.84 kB / 0.505 GB, free: 8.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.894e-05/0.09081, allocations: 23.92 kB / 0.5051 GB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09082, allocations: 0 / 0.5051 GB, free: 8.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09082, allocations: 0 / 0.5051 GB, free: 8.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.09083, allocations: 4 kB / 0.5051 GB, free: 8.402 MB / 350.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.0004522/0.09129, allocations: 396.9 kB / 0.5055 GB, free: 7.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.09133, allocations: 8.031 kB / 0.5055 GB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.0914, allocations: 84.12 kB / 0.5055 GB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000165/0.09157, allocations: 259.5 kB / 0.5058 GB, free: 7.574 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.505e-05/0.09162, allocations: 150.9 kB / 0.5059 GB, free: 7.426 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.09167, allocations: 158.9 kB / 0.5061 GB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.312e-05/0.09173, allocations: 105.5 kB / 0.5062 GB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.09176, allocations: 75.47 kB / 0.5063 GB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.989e-05/0.09181, allocations: 154.5 kB / 0.5064 GB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.09185, allocations: 154.6 kB / 0.5066 GB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.0919, allocations: 150.6 kB / 0.5067 GB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002676/0.09217, allocations: 469.9 kB / 0.5071 GB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.773e-05/0.09225, allocations: 173.1 kB / 0.5073 GB, free: 5.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.09229, allocations: 88.12 kB / 0.5074 GB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.09232, allocations: 75.28 kB / 0.5075 GB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.09236, allocations: 109.8 kB / 0.5076 GB, free: 5.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.09237, allocations: 0 / 0.5076 GB, free: 5.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 7.961e-05/0.09245, allocations: 37.55 kB / 0.5076 GB, free: 5.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.0925, allocations: 126.7 kB / 0.5077 GB, free: 5.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.09265, allocations: 151.4 kB / 0.5079 GB, free: 5.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.09268, allocations: 29.7 kB / 0.5079 GB, free: 5.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.753e-05/0.09273, allocations: 88.05 kB / 0.508 GB, free: 5.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.09274, allocations: 7.938 kB / 0.508 GB, free: 5.195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.09279, allocations: 29.7 kB / 0.508 GB, free: 5.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.992e-05/0.09288, allocations: 310.8 kB / 0.5083 GB, free: 4.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.029e-05/0.09293, allocations: 19.98 kB / 0.5083 GB, free: 4.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.594e-05/0.09299, allocations: 61.08 kB / 0.5084 GB, free: 4.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.534e-05/0.09309, allocations: 90.78 kB / 0.5085 GB, free: 4.637 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.0931, allocations: 0 / 0.5085 GB, free: 4.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004317/0.09354, allocations: 327 kB / 0.5088 GB, free: 4.262 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.09358, allocations: 33.7 kB / 0.5088 GB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.0936, allocations: 3.984 kB / 0.5088 GB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001919/0.09379, allocations: 41.89 kB / 0.5089 GB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.09402, allocations: 39.91 kB / 0.5089 GB, free: 4.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003314/0.09735, allocations: 5.564 MB / 0.5143 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.157e-05/0.09745, allocations: 11.94 kB / 0.5143 GB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.09747, allocations: 0 / 0.5143 GB, free: 14 MB / 366.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.0001149/0.09759, allocations: 217 kB / 0.5146 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.477e-05/0.09765, allocations: 108.8 kB / 0.5147 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.046e-05/0.0977, allocations: 108.9 kB / 0.5148 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.124e-05/0.09775, allocations: 180.2 kB / 0.5149 GB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.105e-05/0.09781, allocations: 188.2 kB / 0.5151 GB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.013e-05/0.09787, allocations: 180.3 kB / 0.5153 GB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.09807, allocations: 417.1 kB / 0.5157 GB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.042e-05/0.09811, allocations: 105 kB / 0.5158 GB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.109e-05/0.09814, allocations: 108.9 kB / 0.5159 GB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.794e-05/0.0982, allocations: 180.4 kB / 0.5161 GB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/0.09826, allocations: 184.3 kB / 0.5162 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.187e-05/0.09831, allocations: 184.2 kB / 0.5164 GB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.697e-05/0.09837, allocations: 180.3 kB / 0.5166 GB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.09848, allocations: 315.6 kB / 0.5169 GB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.09855, allocations: 190 kB / 0.5171 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.09861, allocations: 184.2 kB / 0.5172 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.404e-05/0.09868, allocations: 101 kB / 0.5173 GB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.09875, allocations: 184.2 kB / 0.5175 GB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.686e-05/0.09878, allocations: 101 kB / 0.5176 GB, free: 10.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.772e-05/0.09885, allocations: 113.6 kB / 0.5177 GB, free: 10.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09886, allocations: 0 / 0.5177 GB, free: 10.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.09912, allocations: 16 kB / 0.5177 GB, free: 10.3 MB / 366.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 0.000116/0.09924, allocations: 174.5 kB / 0.5179 GB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006024/0.09985, allocations: 336.7 kB / 0.5182 GB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.09987, allocations: 384 / 0.5182 GB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.963e-06/0.09988, allocations: 4 kB / 0.5182 GB, free: 9.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1002, allocations: 463.6 kB / 0.5187 GB, free: 9.293 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.1005, allocations: 253.9 kB / 0.5189 GB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002259/0.1008, allocations: 0.6885 MB / 0.5196 GB, free: 8.297 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.502e-05/0.1008, allocations: 7.438 kB / 0.5196 GB, free: 8.289 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1008, allocations: 3.938 kB / 0.5196 GB, free: 8.285 MB / 366.1 MB Notification: Performance of Templates: time 0.003136/0.1039, allocations: 1.127 MB / 0.5207 GB, free: 7.152 MB / 366.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)