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.001061/0.001061, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.442/1.442, allocations: 223.2 MB / 238.9 MB, free: 5.469 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.001322/0.001322, allocations: 184.6 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03321/0.03321, allocations: 8.803 MB / 350.1 MB, free: 4.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004691, allocations: 11.31 kB / 413.1 MB, free: 43 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 52.56 MB / 465.6 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.MixedDeclaration): time 0.001313/0.1186, allocations: 0.9822 MB / 466.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 5.525e-05/0.1187, allocations: 3.938 kB / 466.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.1187, allocations: 0 / 466.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.1187, allocations: 0 / 466.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.441e-05/0.1188, allocations: 4 kB / 466.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.339e-05/0.1188, allocations: 4 kB / 466.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 4.456e-05/0.1189, allocations: 0 / 466.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.389e-05/0.1189, allocations: 8 kB / 466.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.783e-05/0.119, allocations: 3.984 kB / 466.7 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.119, allocations: 3.938 kB / 466.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.588e-05/0.119, allocations: 4 kB / 466.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.671e-06/0.119, allocations: 0 / 466.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.999e-06/0.1191, allocations: 3.984 kB / 466.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.957e-05/0.1191, allocations: 25.7 kB / 466.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 3.74e-05/0.1191, allocations: 12 kB / 466.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.1191, allocations: 0 / 466.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1191, allocations: 0 / 466.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.1191, allocations: 4 kB / 466.7 MB, free: 12.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.0003226/0.1195, allocations: 315.6 kB / 467 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1195, allocations: 11.97 kB / 467 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.1196, allocations: 3.953 kB / 467 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.1197, allocations: 174.9 kB / 467.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.1197, allocations: 0 / 467.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.692e-06/0.1197, allocations: 0 / 467.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.936e-05/0.1198, allocations: 51.41 kB / 467.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1198, allocations: 0 / 467.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.1198, allocations: 0 / 467.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.1199, allocations: 3.938 kB / 467.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.847e-05/0.1199, allocations: 11.89 kB / 467.3 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003111/0.1202, allocations: 463.7 kB / 467.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.1203, allocations: 177.2 kB / 467.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1203, allocations: 75.28 kB / 468 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/0.1204, allocations: 109.8 kB / 468.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.1204, allocations: 0 / 468.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=0): time 6.267e-05/0.1204, allocations: 33.59 kB / 468.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.1205, allocations: 130.7 kB / 468.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.05e-05/0.1206, allocations: 105.9 kB / 468.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.1206, allocations: 25.7 kB / 468.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.1206, allocations: 92.03 kB / 468.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-06/0.1207, allocations: 0 / 468.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-06/0.1207, allocations: 0 / 468.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.1208, allocations: 310.8 kB / 468.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.1208, allocations: 4 kB / 468.8 MB, free: 10.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.557e-05/0.1208, allocations: 17.72 kB / 468.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.521e-05/0.1208, allocations: 0 / 468.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1208, allocations: 4 kB / 468.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.069e-05/0.1209, allocations: 45.62 kB / 468.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.1209, allocations: 5.562 kB / 468.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1209, allocations: 0 / 468.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.121, allocations: 3.953 kB / 468.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.026e-05/0.121, allocations: 4 kB / 468.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.121, allocations: 128 / 468.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.121, allocations: 11.91 kB / 468.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/0.1211, allocations: 0 / 468.8 MB, free: 10.09 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 8.218e-05/0.1211, allocations: 189 kB / 469 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.1212, allocations: 114.8 kB / 469.1 MB, free: 9.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.1213, allocations: 104.4 kB / 469.2 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.362e-05/0.1213, allocations: 180.2 kB / 469.4 MB, free: 9.484 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.252e-05/0.1214, allocations: 192.2 kB / 469.6 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.283e-05/0.1214, allocations: 180.2 kB / 469.8 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.1216, allocations: 405.2 kB / 470.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.71e-05/0.1217, allocations: 101 kB / 470.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.461e-05/0.1217, allocations: 108.9 kB / 470.4 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-05/0.1218, allocations: 180.3 kB / 470.6 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.1218, allocations: 184.2 kB / 470.7 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.091e-05/0.1219, allocations: 180.3 kB / 470.9 MB, free: 7.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.063e-05/0.1219, allocations: 176.3 kB / 471.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1221, allocations: 315.7 kB / 471.4 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.1221, allocations: 186.3 kB / 471.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.928e-05/0.1222, allocations: 184.2 kB / 471.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.1223, allocations: 109 kB / 471.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.1223, allocations: 180.2 kB / 472 MB, free: 6.676 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.1224, allocations: 101 kB / 472.1 MB, free: 6.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.812e-05/0.1224, allocations: 91.23 kB / 472.2 MB, free: 6.48 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1224, allocations: 4 kB / 472.2 MB, free: 6.477 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002106/0.1227, allocations: 0 / 472.2 MB, free: 6.477 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 9.6e-05/0.1228, allocations: 167.1 kB / 472.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 5.225e-05/0.1228, allocations: 11.92 kB / 472.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1228, allocations: 0 / 472.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1228, allocations: 0 / 472.4 MB, free: 6.289 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1231, allocations: 0.5265 MB / 472.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.1234, allocations: 182 kB / 473.1 MB, free: 5.555 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.1236, allocations: 0.677 MB / 473.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.614e-05/0.1236, allocations: 0 / 473.8 MB, free: 4.852 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.716e-05/0.1236, allocations: 7.438 kB / 473.8 MB, free: 4.844 MB / 302.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1236, allocations: 4 kB / 473.8 MB, free: 4.84 MB / 302.1 MB Notification: Performance of Templates: time 0.001599/0.1252, allocations: 183.1 kB / 474 MB, free: 4.664 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: