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.00104/0.00104, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.365/1.365, allocations: 222.9 MB / 239 MB, free: 4.711 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.001601/0.001602, allocations: 196.5 kB / 289.3 MB, free: 2.449 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03259/0.03259, allocations: 8.791 MB / 348.2 MB, free: 4.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 72.52 kB / 410.6 MB, free: 42.38 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.108, allocations: 51.57 MB / 462.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.VariablesTypes.Attributes): time 0.002237/0.1103, allocations: 1.239 MB / 463.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 3.873e-05/0.1103, allocations: 7.922 kB / 463.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.1104, allocations: 0 / 463.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.907e-05/0.1104, allocations: 0 / 463.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.1105, allocations: 7.984 kB / 463.4 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.906e-05/0.1105, allocations: 4 kB / 463.4 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 5.297e-05/0.1106, allocations: 11.94 kB / 463.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.539e-05/0.1106, allocations: 3.984 kB / 463.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.1107, allocations: 4 kB / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.1107, allocations: 3.938 kB / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.121e-05/0.1107, allocations: 4 kB / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.542e-06/0.1107, allocations: 0 / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.416e-05/0.1107, allocations: 0 / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 1.9e-05/0.1108, allocations: 0 / 463.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 4.563e-05/0.1108, allocations: 11.94 kB / 463.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1108, allocations: 3.984 kB / 463.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1108, allocations: 4 kB / 463.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.1108, allocations: 0 / 463.4 MB, free: 13.43 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.0003737/0.1112, allocations: 319.5 kB / 463.8 MB, free: 13.06 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.1113, allocations: 8.031 kB / 463.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.1113, allocations: 4.938 kB / 463.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1114, allocations: 164.4 kB / 463.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1114, allocations: 4.312 kB / 463.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.923e-06/0.1114, allocations: 384 / 463.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1116, allocations: 43.98 kB / 464 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.996e-06/0.1116, allocations: 192 / 464 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1116, allocations: 3.938 kB / 464 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.1116, allocations: 4 kB / 464 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.704e-05/0.1116, allocations: 15.92 kB / 464 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.1121, allocations: 190.8 kB / 464.2 MB, free: 12.53 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.473e-05/0.1122, allocations: 33.19 kB / 464.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.1122, allocations: 17.84 kB / 464.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1123, allocations: 0 / 464.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.1123, allocations: 42.5 kB / 464.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1123, allocations: 0 / 464.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001587/0.1125, allocations: 53.5 kB / 464.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.1125, allocations: 77.11 kB / 464.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.1126, allocations: 93.86 kB / 464.5 MB, free: 12.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.354e-05/0.1126, allocations: 25.7 kB / 464.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.475e-05/0.1127, allocations: 84.5 kB / 464.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.1127, allocations: 23.78 kB / 464.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.1128, allocations: 13.72 kB / 464.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1129, allocations: 314.8 kB / 465 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.1129, allocations: 4 kB / 465 MB, free: 11.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.585e-05/0.1129, allocations: 17.72 kB / 465 MB, free: 11.65 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.445e-05/0.113, allocations: 21.72 kB / 465 MB, free: 11.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.113, allocations: 0 / 465 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.404e-05/0.113, allocations: 45.67 kB / 465 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.113, allocations: 8 kB / 465 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1131, allocations: 3.938 kB / 465.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.1131, allocations: 0 / 465.1 MB, free: 11.56 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.1133, allocations: 23.98 kB / 465.1 MB, free: 11.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.115, allocations: 2.727 MB / 467.8 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.524e-05/0.115, allocations: 4.031 kB / 467.8 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.52e-06/0.115, allocations: 0 / 467.8 MB, free: 8.527 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): 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 7.538e-05/0.1151, allocations: 109.8 kB / 467.9 MB, free: 8.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.979e-06/0.1151, allocations: 7.938 kB / 467.9 MB, free: 8.402 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.217e-05/0.1151, allocations: 11.08 kB / 467.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1151, allocations: 4.062 kB / 467.9 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1151, allocations: 4 kB / 467.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1151, allocations: 0 / 467.9 MB, free: 8.387 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/0.1155, allocations: 181.7 kB / 468.1 MB, free: 8.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1155, allocations: 3.984 kB / 468.1 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.1156, allocations: 31.92 kB / 468.2 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1157, allocations: 3.938 kB / 468.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.1157, allocations: 0 / 468.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/0.1171, allocations: 2.719 MB / 470.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1171, allocations: 0 / 470.9 MB, free: 5.125 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.871e-05/0.1172, allocations: 74.02 kB / 470.9 MB, free: 5.031 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.1173, allocations: 81.05 kB / 471 MB, free: 4.934 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.053e-06/0.1173, allocations: 4 kB / 471 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.015e-05/0.1173, allocations: 0 / 471 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.926e-05/0.1173, allocations: 7.984 kB / 471 MB, free: 4.922 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.1173, allocations: 4 kB / 471 MB, free: 4.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.243e-05/0.1174, allocations: 75.28 kB / 471.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.003e-06/0.1174, allocations: 0 / 471.1 MB, free: 4.844 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.1176, allocations: 12.06 kB / 471.1 MB, free: 4.832 MB / 302.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 9.132e-05/0.1177, allocations: 95.19 kB / 471.2 MB, free: 4.727 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005568/0.1182, allocations: 39.91 kB / 471.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1183, allocations: 0 / 471.3 MB, free: 4.688 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.1186, allocations: 40.09 kB / 471.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.1188, allocations: 4 kB / 471.3 MB, free: 4.645 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.1192, allocations: 130.1 kB / 471.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1195, allocations: 0.6847 MB / 472.1 MB, free: 3.777 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1196, allocations: 12 kB / 472.1 MB, free: 3.766 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.1196, allocations: 23.39 kB / 472.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1197, allocations: 4 kB / 472.2 MB, free: 3.738 MB / 302.1 MB Notification: Performance of Templates: time 0.002758/0.1224, allocations: 0.842 MB / 473 MB, free: 2.895 MB / 302.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)