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.0009452/0.0009451, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.396/1.396, allocations: 223.2 MB / 239 MB, free: 5.441 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.001327/0.001328, allocations: 180.5 kB / 290.3 MB, free: 2.121 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03277/0.03277, allocations: 8.798 MB / 350.2 MB, free: 4.68 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003862, allocations: 13.75 kB / 413.2 MB, free: 42.98 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09704/0.09744, allocations: 52.55 MB / 465.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.001721/0.09921, allocations: 0.9861 MB / 466.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 5.997e-05/0.0993, allocations: 7.984 kB / 466.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.749e-05/0.09934, allocations: 0 / 466.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.09937, allocations: 3.938 kB / 466.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.113e-05/0.09945, allocations: 3.938 kB / 466.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.301e-05/0.09947, allocations: 4 kB / 466.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.326e-05/0.09953, allocations: 0 / 466.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.636e-05/0.09961, allocations: 7.938 kB / 466.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.858e-05/0.09964, allocations: 0 / 466.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.022e-05/0.09968, allocations: 4 kB / 466.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.09971, allocations: 0 / 466.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.58e-06/0.09972, allocations: 4 kB / 466.8 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.09973, allocations: 4 kB / 466.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.09976, allocations: 29.64 kB / 466.8 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.388e-05/0.09981, allocations: 11.98 kB / 466.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.09982, allocations: 0 / 466.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.09983, allocations: 0 / 466.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.09984, allocations: 3.938 kB / 466.8 MB, free: 12.42 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.0003451/0.1002, allocations: 315.6 kB / 467.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1002, allocations: 8.031 kB / 467.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.134e-05/0.1003, allocations: 7.953 kB / 467.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.1004, allocations: 175 kB / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.1004, allocations: 0 / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.744e-06/0.1005, allocations: 0 / 467.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.1006, allocations: 43.41 kB / 467.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1006, allocations: 0 / 467.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.885e-06/0.1006, allocations: 0 / 467.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.1006, allocations: 0 / 467.4 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.888e-05/0.1006, allocations: 11.89 kB / 467.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.101, allocations: 467.7 kB / 467.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.522e-05/0.1011, allocations: 181.1 kB / 468 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.839e-05/0.1011, allocations: 84.14 kB / 468.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1011, allocations: 79.28 kB / 468.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.444e-05/0.1012, allocations: 105.8 kB / 468.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 7.71e-07/0.1012, allocations: 0 / 468.3 MB, free: 10.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 7.337e-05/0.1013, allocations: 37.64 kB / 468.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.1013, allocations: 126.7 kB / 468.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.1014, allocations: 101.9 kB / 468.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1015, allocations: 29.64 kB / 468.6 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.088e-05/0.1015, allocations: 99.97 kB / 468.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-06/0.1015, allocations: 0 / 468.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.1015, allocations: 4 kB / 468.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.1017, allocations: 310.8 kB / 469 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.918e-06/0.1017, allocations: 4 kB / 469 MB, free: 10.05 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.346e-05/0.1017, allocations: 9.719 kB / 469 MB, free: 10.04 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.1017, allocations: 12.06 kB / 469 MB, free: 10.02 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1017, allocations: 0 / 469 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001056/0.1018, allocations: 41.62 kB / 469 MB, free: 9.977 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1019, allocations: 4 kB / 469 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1019, allocations: 4 kB / 469 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1019, allocations: 3.953 kB / 469 MB, free: 9.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.393e-05/0.1019, allocations: 4 kB / 469 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.102, allocations: 0 / 469 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.102, allocations: 3.906 kB / 469 MB, free: 9.957 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.102, allocations: 0 / 469 MB, free: 9.957 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.1021, allocations: 193.2 kB / 469.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.1023, allocations: 105 kB / 469.3 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.905e-05/0.1023, allocations: 112 kB / 469.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.825e-05/0.1024, allocations: 180.2 kB / 469.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001332/0.1025, allocations: 184.1 kB / 469.8 MB, free: 9.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.375e-05/0.1026, allocations: 184.3 kB / 470 MB, free: 8.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002305/0.1029, allocations: 405.2 kB / 470.4 MB, free: 8.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-05/0.1029, allocations: 101 kB / 470.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.912e-05/0.1029, allocations: 109 kB / 470.6 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-05/0.103, allocations: 184.2 kB / 470.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.1031, allocations: 180.3 kB / 470.9 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.179e-05/0.1032, allocations: 180.2 kB / 471.1 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.596e-05/0.1032, allocations: 180.2 kB / 471.3 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.1034, allocations: 312 kB / 471.6 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-05/0.1035, allocations: 182.1 kB / 471.8 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.1036, allocations: 184.2 kB / 472 MB, free: 6.844 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.1037, allocations: 105 kB / 472.1 MB, free: 6.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.1038, allocations: 188.2 kB / 472.2 MB, free: 6.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.046e-05/0.1039, allocations: 108.9 kB / 472.3 MB, free: 6.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.1039, allocations: 79.28 kB / 472.4 MB, free: 6.352 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1039, allocations: 3.938 kB / 472.4 MB, free: 6.348 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.1042, allocations: 0 / 472.4 MB, free: 6.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001232/0.1043, allocations: 175.1 kB / 472.6 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 6.555e-05/0.1044, allocations: 7.984 kB / 472.6 MB, free: 6.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1044, allocations: 4 kB / 472.6 MB, free: 6.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.278e-06/0.1044, allocations: 3.938 kB / 472.6 MB, free: 6.148 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.1048, allocations: 0.5205 MB / 473.1 MB, free: 5.625 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.1051, allocations: 178.1 kB / 473.3 MB, free: 5.426 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.1054, allocations: 0.6736 MB / 474 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.857e-05/0.1054, allocations: 0 / 474 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.776e-05/0.1054, allocations: 11.42 kB / 474 MB, free: 4.715 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1054, allocations: 0 / 474 MB, free: 4.715 MB / 302.1 MB Notification: Performance of Templates: time 0.002286/0.1077, allocations: 188.5 kB / 474.2 MB, free: 4.531 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.MixedDeclaration.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: