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.001209/0.00121, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.395/1.395, allocations: 222.9 MB / 239.6 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.001268/0.001268, allocations: 192.4 kB / 289.9 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03479/0.03479, allocations: 8.791 MB / 348.9 MB, free: 4.852 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 78.19 kB / 411.2 MB, free: 42.35 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08957/0.09106, allocations: 51.57 MB / 462.8 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002484/0.09359, allocations: 1.321 MB / 464.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 5.037e-05/0.09367, allocations: 3.984 kB / 464.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.62e-05/0.0937, allocations: 0 / 464.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.09375, allocations: 0 / 464.1 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.83e-05/0.09383, allocations: 3.938 kB / 464.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.651e-05/0.09385, allocations: 4 kB / 464.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.436e-05/0.09391, allocations: 8 kB / 464.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.918e-05/0.094, allocations: 4 kB / 464.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.094e-05/0.09402, allocations: 3.938 kB / 464.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.333e-05/0.09406, allocations: 7.984 kB / 464.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.09408, allocations: 0 / 464.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-06/0.09409, allocations: 0 / 464.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.09411, allocations: 0 / 464.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.217e-05/0.09413, allocations: 15.88 kB / 464.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.425e-05/0.09418, allocations: 7.984 kB / 464.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.09419, allocations: 0 / 464.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0942, allocations: 0 / 464.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.216e-06/0.09421, allocations: 4 kB / 464.2 MB, free: 13.37 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.0003314/0.09455, allocations: 323.5 kB / 464.5 MB, free: 13 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.09459, allocations: 8.031 kB / 464.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.547e-05/0.09462, allocations: 0.9375 kB / 464.5 MB, free: 12.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.09475, allocations: 164.7 kB / 464.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.09477, allocations: 384 / 464.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.304e-06/0.09478, allocations: 384 / 464.7 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.975e-05/0.09486, allocations: 47.97 kB / 464.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.09488, allocations: 192 / 464.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.09489, allocations: 3.938 kB / 464.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.0949, allocations: 0 / 464.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.759e-05/0.09492, allocations: 11.94 kB / 464.7 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003068/0.09523, allocations: 463.6 kB / 465.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.832e-05/0.09532, allocations: 185.1 kB / 465.4 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.09535, allocations: 84.17 kB / 465.5 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.09538, allocations: 75.28 kB / 465.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.09542, allocations: 105.8 kB / 465.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.09543, allocations: 0 / 465.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.664e-05/0.0955, allocations: 37.59 kB / 465.7 MB, free: 11.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.574e-05/0.09556, allocations: 130.7 kB / 465.8 MB, free: 11.56 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.09565, allocations: 97.86 kB / 465.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.09567, allocations: 29.64 kB / 465.9 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/0.09573, allocations: 96.03 kB / 466 MB, free: 11.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.09574, allocations: 7.875 kB / 466 MB, free: 11.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.09577, allocations: 13.72 kB / 466 MB, free: 11.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.65e-05/0.09587, allocations: 310.8 kB / 466.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.019e-05/0.09589, allocations: 8 kB / 466.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.336e-05/0.09591, allocations: 13.72 kB / 466.4 MB, free: 10.96 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.645e-05/0.09594, allocations: 13.72 kB / 466.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.09595, allocations: 3.938 kB / 466.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000101/0.09605, allocations: 45.62 kB / 466.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.09608, allocations: 9.688 kB / 466.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.09609, allocations: 3.984 kB / 466.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.0961, allocations: 4 kB / 466.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.389e-05/0.09615, allocations: 0 / 466.4 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.09617, allocations: 4 kB / 466.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.909e-05/0.09619, allocations: 0 / 466.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.0962, allocations: 3.984 kB / 466.4 MB, free: 10.86 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 8.97e-05/0.0963, allocations: 201 kB / 466.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/0.09635, allocations: 104.9 kB / 466.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.683e-05/0.09641, allocations: 108.1 kB / 466.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-05/0.09646, allocations: 184.2 kB / 467 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.153e-05/0.09652, allocations: 176.5 kB / 467.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-05/0.09658, allocations: 180.2 kB / 467.4 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.09678, allocations: 413.1 kB / 467.8 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-05/0.09682, allocations: 109 kB / 467.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.09688, allocations: 104.9 kB / 468 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.021e-05/0.09694, allocations: 180.3 kB / 468.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.097, allocations: 180.3 kB / 468.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.392e-05/0.09706, allocations: 180.2 kB / 468.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.409e-05/0.09712, allocations: 176.3 kB / 468.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001182/0.09724, allocations: 319.9 kB / 469 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.434e-05/0.09731, allocations: 186 kB / 469.2 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.564e-05/0.09738, allocations: 184.2 kB / 469.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.301e-05/0.09746, allocations: 105 kB / 469.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.09753, allocations: 184.2 kB / 469.6 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.09757, allocations: 105 kB / 469.8 MB, free: 7.328 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.089e-05/0.09762, allocations: 87.22 kB / 469.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09762, allocations: 0 / 469.8 MB, free: 7.242 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002056/0.09783, allocations: 0 / 469.8 MB, free: 7.242 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 0.0001079/0.09794, allocations: 178.5 kB / 470 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.53e-05/0.09802, allocations: 11.94 kB / 470 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.09802, allocations: 0 / 470 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.192e-06/0.09803, allocations: 0 / 470 MB, free: 7.043 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.09836, allocations: 463.6 kB / 470.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002022/0.09857, allocations: 193.9 kB / 470.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.0988, allocations: 0.6808 MB / 471.3 MB, free: 5.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.09882, allocations: 7.438 kB / 471.4 MB, free: 5.648 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09882, allocations: 0 / 471.4 MB, free: 5.648 MB / 302.1 MB Notification: Performance of Templates: time 0.001434/0.1003, allocations: 399.8 kB / 471.7 MB, free: 5.258 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)