Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.MixedDeclaration.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.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") translateModel(HanserModelica.Classes.MixedDeclaration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.MixedDeclaration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.243/1.243, allocations: 222.9 MB / 238.9 MB, free: 4.738 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.001148/0.001147, allocations: 184.5 kB / 289.1 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03188/0.03188, allocations: 8.783 MB / 348.1 MB, free: 4.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 70.95 kB / 410.4 MB, free: 42.44 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.08036, allocations: 51.56 MB / 462 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002194/0.0826, allocations: 1.327 MB / 463.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 4.182e-05/0.08266, allocations: 3.938 kB / 463.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.08269, allocations: 0 / 463.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.08273, allocations: 4 kB / 463.3 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.515e-05/0.0828, allocations: 3.984 kB / 463.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.249e-05/0.08281, allocations: 0 / 463.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.804e-05/0.08287, allocations: 11.94 kB / 463.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.562e-05/0.08293, allocations: 4 kB / 463.3 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.653e-05/0.08295, allocations: 3.938 kB / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.989e-05/0.08298, allocations: 0 / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.083, allocations: 4 kB / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.031e-06/0.08301, allocations: 0 / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.46e-05/0.08303, allocations: 3.984 kB / 463.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.175e-05/0.08306, allocations: 7.938 kB / 463.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.579e-05/0.08311, allocations: 15.98 kB / 463.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.08312, allocations: 3.938 kB / 463.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.81e-07/0.08312, allocations: 0 / 463.3 MB, free: 13.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.08313, allocations: 0 / 463.3 MB, free: 13.47 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000297/0.08343, allocations: 319.5 kB / 463.7 MB, free: 13.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.08347, allocations: 12.03 kB / 463.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.0835, allocations: 0.9375 kB / 463.7 MB, free: 13.09 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001084/0.08361, allocations: 160.7 kB / 463.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-06/0.08363, allocations: 384 / 463.8 MB, free: 12.9 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.08364, allocations: 12.36 kB / 463.8 MB, free: 12.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.127e-05/0.08372, allocations: 43.92 kB / 463.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.08373, allocations: 192 / 463.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.043e-06/0.08374, allocations: 3.938 kB / 463.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.08375, allocations: 0 / 463.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.725e-05/0.08377, allocations: 11.98 kB / 463.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.08405, allocations: 475.6 kB / 464.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.993e-05/0.08413, allocations: 173.1 kB / 464.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.472e-05/0.08416, allocations: 80.14 kB / 464.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.08419, allocations: 75.28 kB / 464.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.08423, allocations: 113.9 kB / 464.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 7.61e-07/0.08424, allocations: 0 / 464.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 5.76e-05/0.0843, allocations: 37.48 kB / 464.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.08435, allocations: 126.7 kB / 465 MB, free: 11.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.61e-05/0.08443, allocations: 105.8 kB / 465.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.08444, allocations: 25.7 kB / 465.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.08449, allocations: 88.05 kB / 465.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-06/0.0845, allocations: 4 kB / 465.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.08453, allocations: 17.7 kB / 465.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/0.08462, allocations: 310.8 kB / 465.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.967e-06/0.08463, allocations: 4 kB / 465.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.24e-05/0.08465, allocations: 13.72 kB / 465.5 MB, free: 11.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.616e-05/0.08468, allocations: 17.66 kB / 465.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.08469, allocations: 8.25 kB / 465.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.089e-05/0.08477, allocations: 45.69 kB / 465.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.08479, allocations: 4 kB / 465.6 MB, free: 10.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.0848, allocations: 4 kB / 465.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.08481, allocations: 3.938 kB / 465.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.83e-05/0.08486, allocations: 7.938 kB / 465.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.08487, allocations: 0 / 465.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.925e-05/0.08489, allocations: 4 kB / 465.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.0849, allocations: 0 / 465.6 MB, free: 10.96 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 prepare postOptimizeDAE: time 7.386e-05/0.08498, allocations: 193.1 kB / 465.8 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.08503, allocations: 109 kB / 465.9 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.08507, allocations: 112 kB / 466 MB, free: 10.53 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.775e-05/0.08513, allocations: 176.3 kB / 466.2 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.841e-05/0.08519, allocations: 176.3 kB / 466.4 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-05/0.08524, allocations: 184.2 kB / 466.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.08543, allocations: 409.2 kB / 466.9 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.129e-05/0.08546, allocations: 108.9 kB / 467 MB, free: 9.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.46e-05/0.08549, allocations: 101 kB / 467.1 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.694e-05/0.08554, allocations: 180.2 kB / 467.3 MB, free: 9.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.944e-05/0.0856, allocations: 184.2 kB / 467.5 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.786e-05/0.08565, allocations: 188.3 kB / 467.7 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.407e-05/0.0857, allocations: 180.2 kB / 467.9 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.961e-05/0.08581, allocations: 311.9 kB / 468.2 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.08587, allocations: 182 kB / 468.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.283e-05/0.08593, allocations: 188.3 kB / 468.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.086, allocations: 104.9 kB / 468.6 MB, free: 7.727 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.993e-05/0.08606, allocations: 180.2 kB / 468.8 MB, free: 7.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.559e-05/0.08609, allocations: 104.9 kB / 468.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.232e-05/0.08612, allocations: 83.28 kB / 469 MB, free: 7.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08613, allocations: 0 / 469 MB, free: 7.352 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001958/0.08633, allocations: 4 kB / 469 MB, free: 7.348 MB / 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 7.644e-05/0.08641, allocations: 174.5 kB / 469.2 MB, free: 7.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 4.785e-05/0.08646, allocations: 4 kB / 469.2 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.08647, allocations: 0 / 469.2 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.08648, allocations: 0 / 469.2 MB, free: 7.16 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/0.08679, allocations: 0.5302 MB / 469.7 MB, free: 6.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001586/0.08696, allocations: 174 kB / 469.9 MB, free: 6.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001825/0.08715, allocations: 0.6731 MB / 470.5 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.435e-05/0.08717, allocations: 0 / 470.5 MB, free: 5.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.08719, allocations: 11.44 kB / 470.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08719, allocations: 0 / 470.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of Templates: time 0.001463/0.08866, allocations: 193.3 kB / 470.7 MB, free: 5.527 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile (rm -f HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; mkfifo HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe >> ../files/HanserModelica_HanserModelica.Classes.MixedDeclaration.sim & ./HanserModelica_HanserModelica.Classes.MixedDeclaration -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.MixedDeclaration.pipe 2>&1)