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.001117/0.001117, allocations: 110.5 kB / 16.42 MB, free: 6.496 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.344/1.344, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.001343/0.001343, allocations: 188.5 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03485/0.03485, allocations: 8.804 MB / 349.3 MB, free: 4.621 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 75.88 kB / 464.6 MB, free: 13.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09465/0.0963, allocations: 51.57 MB / 0.504 GB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.002394/0.09873, allocations: 1.269 MB / 0.5053 GB, free: 8.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 5.233e-05/0.09881, allocations: 4 kB / 0.5053 GB, free: 8.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.231e-05/0.09885, allocations: 0 / 0.5053 GB, free: 8.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.584e-05/0.0989, allocations: 3.938 kB / 0.5053 GB, free: 8.238 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.133e-05/0.099, allocations: 7.969 kB / 0.5053 GB, free: 8.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.589e-05/0.09902, allocations: 4 kB / 0.5053 GB, free: 8.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.343e-05/0.09908, allocations: 7.938 kB / 0.5053 GB, free: 8.219 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.983e-05/0.09916, allocations: 4 kB / 0.5053 GB, free: 8.215 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.09918, allocations: 7.938 kB / 0.5053 GB, free: 8.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.658e-05/0.09922, allocations: 4 kB / 0.5053 GB, free: 8.203 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.09924, allocations: 0 / 0.5053 GB, free: 8.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.599e-06/0.09925, allocations: 0 / 0.5053 GB, free: 8.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.271e-05/0.09927, allocations: 0 / 0.5053 GB, free: 8.203 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.0993, allocations: 3.938 kB / 0.5053 GB, free: 8.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 5.585e-05/0.09936, allocations: 7.984 kB / 0.5053 GB, free: 8.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.09937, allocations: 8 kB / 0.5053 GB, free: 8.184 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.09938, allocations: 3.938 kB / 0.5053 GB, free: 8.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.09939, allocations: 0 / 0.5053 GB, free: 8.18 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003367/0.09973, allocations: 319.6 kB / 0.5057 GB, free: 7.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.09978, allocations: 8.031 kB / 0.5057 GB, free: 7.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.09981, allocations: 4.844 kB / 0.5057 GB, free: 7.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.09994, allocations: 164.4 kB / 0.5058 GB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.09996, allocations: 4.375 kB / 0.5058 GB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/0.09998, allocations: 384 / 0.5058 GB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.277e-05/0.1001, allocations: 55.91 kB / 0.5059 GB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.1001, allocations: 192 / 0.5059 GB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.1001, allocations: 3.938 kB / 0.5059 GB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1001, allocations: 0 / 0.5059 GB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.782e-05/0.1001, allocations: 4 kB / 0.5059 GB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003253/0.1005, allocations: 479.6 kB / 0.5063 GB, free: 7.004 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.553e-05/0.1005, allocations: 177 kB / 0.5065 GB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.7e-05/0.1006, allocations: 84.17 kB / 0.5066 GB, free: 6.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.216e-05/0.1006, allocations: 75.28 kB / 0.5067 GB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.1007, allocations: 109.8 kB / 0.5068 GB, free: 6.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.1007, allocations: 4 kB / 0.5068 GB, free: 6.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=0): time 6.722e-05/0.1007, allocations: 33.62 kB / 0.5068 GB, free: 6.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.1008, allocations: 51.41 kB / 0.5069 GB, free: 6.438 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.806e-05/0.1009, allocations: 101.9 kB / 0.507 GB, free: 6.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.111e-05/0.1009, allocations: 25.7 kB / 0.507 GB, free: 6.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.1009, allocations: 92.03 kB / 0.5071 GB, free: 6.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/0.1009, allocations: 0 / 0.5071 GB, free: 6.203 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/0.101, allocations: 13.72 kB / 0.5071 GB, free: 6.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.1011, allocations: 318.8 kB / 0.5074 GB, free: 5.863 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.689e-06/0.1011, allocations: 0 / 0.5074 GB, free: 5.863 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.1011, allocations: 13.72 kB / 0.5074 GB, free: 5.844 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.1012, allocations: 17.66 kB / 0.5074 GB, free: 5.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1012, allocations: 0 / 0.5074 GB, free: 5.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.674e-05/0.1013, allocations: 57.62 kB / 0.5075 GB, free: 5.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1013, allocations: 4 kB / 0.5075 GB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1013, allocations: 0 / 0.5075 GB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1013, allocations: 0 / 0.5075 GB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.083e-05/0.1014, allocations: 11.88 kB / 0.5075 GB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1014, allocations: 0 / 0.5075 GB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.236e-05/0.1014, allocations: 4 kB / 0.5075 GB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.1014, allocations: 0 / 0.5075 GB, free: 5.738 MB / 350.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.933e-05/0.1015, allocations: 189 kB / 0.5077 GB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.1016, allocations: 113 kB / 0.5078 GB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.1016, allocations: 108 kB / 0.5079 GB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.764e-05/0.1017, allocations: 180.3 kB / 0.508 GB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-05/0.1017, allocations: 105 kB / 0.5081 GB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.958e-05/0.1018, allocations: 186 kB / 0.5083 GB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.833e-05/0.1019, allocations: 176.3 kB / 0.5085 GB, free: 4.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.6e-05/0.102, allocations: 112.9 kB / 0.5086 GB, free: 4.516 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/0.102, allocations: 180.2 kB / 0.5088 GB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.141e-05/0.1021, allocations: 263.5 kB / 0.509 GB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001477/0.1022, allocations: 375.1 kB / 0.5094 GB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.633e-05/0.1023, allocations: 108.9 kB / 0.5095 GB, free: 3.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.649e-05/0.1023, allocations: 83.53 kB / 0.5096 GB, free: 3.48 MB / 350.1 MB Notification: Performance of Backend: time 3.2e-07/0.1024, allocations: 0 / 0.5096 GB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.1026, allocations: 78.62 kB / 0.5096 GB, free: 3.395 MB / 350.1 MB Notification: Performance of SimCode: time 0.0004516/0.1031, allocations: 0.8426 MB / 0.5105 GB, free: 2.5 MB / 350.1 MB Notification: Performance of Templates: time 0.001885/0.105, allocations: 221.5 kB / 0.5107 GB, free: 2.285 MB / 350.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)