Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.Attributes.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.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") translateModel(HanserModelica.VariablesTypes.Attributes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.VariablesTypes.Attributes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007378/0.007378, allocations: 100.7 kB / 15.73 MB, free: 6.438 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.428/1.428, allocations: 222.9 MB / 239.4 MB, free: 4.523 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.002213/0.002213, allocations: 180.5 kB / 289.7 MB, free: 2.25 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03553/0.03553, allocations: 8.798 MB / 348.6 MB, free: 4.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 83.86 kB / 463.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1061, allocations: 51.57 MB / 0.5034 GB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002632/0.1087, allocations: 1.18 MB / 0.5045 GB, free: 8.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 6.21e-05/0.1088, allocations: 4 kB / 0.5045 GB, free: 8.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.1089, allocations: 0 / 0.5045 GB, free: 8.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.914e-05/0.1089, allocations: 3.938 kB / 0.5045 GB, free: 8.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 5.658e-05/0.109, allocations: 3.984 kB / 0.5045 GB, free: 8.301 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.913e-05/0.1091, allocations: 0 / 0.5045 GB, free: 8.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.873e-05/0.1092, allocations: 15.94 kB / 0.5046 GB, free: 8.285 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.41e-05/0.1093, allocations: 8 kB / 0.5046 GB, free: 8.277 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.023e-05/0.1093, allocations: 7.922 kB / 0.5046 GB, free: 8.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.469e-05/0.1094, allocations: 7.984 kB / 0.5046 GB, free: 8.262 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1094, allocations: 0 / 0.5046 GB, free: 8.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-06/0.1094, allocations: 0 / 0.5046 GB, free: 8.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.1094, allocations: 0 / 0.5046 GB, free: 8.262 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.1095, allocations: 7.938 kB / 0.5046 GB, free: 8.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.005e-05/0.1095, allocations: 0 / 0.5046 GB, free: 8.254 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.086e-06/0.1095, allocations: 4 kB / 0.5046 GB, free: 8.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1096, allocations: 0 / 0.5046 GB, free: 8.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.213e-06/0.1096, allocations: 4 kB / 0.5046 GB, free: 8.246 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.0005008/0.1101, allocations: 315.6 kB / 0.5049 GB, free: 7.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.1101, allocations: 12.03 kB / 0.5049 GB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.1102, allocations: 0.9375 kB / 0.5049 GB, free: 7.875 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.1103, allocations: 168.3 kB / 0.5051 GB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.1103, allocations: 384 / 0.5051 GB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1104, allocations: 8.312 kB / 0.5051 GB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1105, allocations: 47.98 kB / 0.5051 GB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1105, allocations: 192 / 0.5051 GB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.1105, allocations: 3.938 kB / 0.5051 GB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.1105, allocations: 3.938 kB / 0.5051 GB, free: 7.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.563e-05/0.1106, allocations: 4 kB / 0.5051 GB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.1111, allocations: 194.5 kB / 0.5053 GB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.42e-05/0.1112, allocations: 37.23 kB / 0.5053 GB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.609e-05/0.1112, allocations: 17.78 kB / 0.5054 GB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.1112, allocations: 0 / 0.5054 GB, free: 7.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.1113, allocations: 42.44 kB / 0.5054 GB, free: 7.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 1.143e-06/0.1113, allocations: 0 / 0.5054 GB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001771/0.1114, allocations: 45.64 kB / 0.5054 GB, free: 7.172 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.1115, allocations: 85.03 kB / 0.5055 GB, free: 7.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.822e-05/0.1116, allocations: 89.86 kB / 0.5056 GB, free: 6.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.1116, allocations: 29.7 kB / 0.5056 GB, free: 6.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.66e-05/0.1117, allocations: 84.14 kB / 0.5057 GB, free: 6.852 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.303e-05/0.1117, allocations: 8.219 kB / 0.5057 GB, free: 6.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.1118, allocations: 17.72 kB / 0.5057 GB, free: 6.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.112, allocations: 310.8 kB / 0.506 GB, free: 6.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.595e-05/0.112, allocations: 7.984 kB / 0.5061 GB, free: 6.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.691e-05/0.112, allocations: 13.72 kB / 0.5061 GB, free: 6.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.044e-05/0.1121, allocations: 17.78 kB / 0.5061 GB, free: 6.457 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1121, allocations: 7.938 kB / 0.5061 GB, free: 6.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.678e-05/0.1121, allocations: 37.7 kB / 0.5061 GB, free: 6.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1122, allocations: 5.719 kB / 0.5061 GB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1122, allocations: 7.922 kB / 0.5061 GB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.1122, allocations: 3.984 kB / 0.5061 GB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.1124, allocations: 27.98 kB / 0.5062 GB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.1142, allocations: 2.723 MB / 0.5088 GB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.1143, allocations: 4.156 kB / 0.5088 GB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.1143, allocations: 0 / 0.5088 GB, free: 3.363 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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 9.047e-05/0.1144, allocations: 117.8 kB / 0.5089 GB, free: 3.238 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.071e-05/0.1144, allocations: 3.938 kB / 0.509 GB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.508e-05/0.1144, allocations: 7.125 kB / 0.509 GB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1144, allocations: 0 / 0.509 GB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.1144, allocations: 4 kB / 0.509 GB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.1144, allocations: 0 / 0.509 GB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.1148, allocations: 185.6 kB / 0.5091 GB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1148, allocations: 0 / 0.5091 GB, free: 2.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1149, allocations: 23.98 kB / 0.5092 GB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.115, allocations: 7.938 kB / 0.5092 GB, free: 2.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.115, allocations: 4 kB / 0.5092 GB, free: 2.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001771/0.1167, allocations: 2.731 MB / 0.5118 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.1168, allocations: 0 / 0.5118 GB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.698e-05/0.1169, allocations: 73.95 kB / 0.5119 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.903e-05/0.1169, allocations: 88.92 kB / 0.512 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.063e-06/0.1169, allocations: 0 / 0.512 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.247e-05/0.117, allocations: 4 kB / 0.512 GB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.747e-05/0.117, allocations: 12.08 kB / 0.512 GB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.117, allocations: 0 / 0.512 GB, free: 15.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.415e-05/0.117, allocations: 75.28 kB / 0.5121 GB, free: 15.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.117, allocations: 4 kB / 0.5121 GB, free: 15.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.1173, allocations: 0 / 0.5121 GB, free: 15.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001026/0.1174, allocations: 95.25 kB / 0.5122 GB, free: 15.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004875/0.1179, allocations: 44 kB / 0.5122 GB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1179, allocations: 0 / 0.5122 GB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003325/0.1182, allocations: 35.97 kB / 0.5123 GB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001452/0.1184, allocations: 256 / 0.5123 GB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003186/0.1187, allocations: 114.3 kB / 0.5124 GB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.119, allocations: 0.6844 MB / 0.513 GB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.858e-05/0.1191, allocations: 23.94 kB / 0.5131 GB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.1192, allocations: 19.41 kB / 0.5131 GB, free: 14.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1192, allocations: 0 / 0.5131 GB, free: 14.58 MB / 366.1 MB Notification: Performance of Templates: time 0.002854/0.122, allocations: 0.8382 MB / 0.5139 GB, free: 13.74 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.VariablesTypes.Attributes.makefile (rm -f HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.Attributes.sim & ./HanserModelica_HanserModelica.VariablesTypes.Attributes -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.VariablesTypes.Attributes.pipe 2>&1)