Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.Classes.TestVector2D.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.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") translateModel(HanserModelica.Classes.TestVector2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Classes.TestVector2D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.467/1.467, allocations: 222.9 MB / 239 MB, free: 4.723 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.001179/0.001179, allocations: 192.4 kB / 289.3 MB, free: 2.461 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0333/0.0333, allocations: 8.794 MB / 348.2 MB, free: 4.848 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 78.73 kB / 410.6 MB, free: 42.37 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1154, allocations: 51.56 MB / 462.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Classes.TestVector2D): time 0.002458/0.1179, allocations: 1.261 MB / 463.4 MB, free: 13.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002079/0.1182, allocations: 59.83 kB / 463.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.1182, allocations: 4 kB / 463.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1183, allocations: 4 kB / 463.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.1185, allocations: 3.938 kB / 463.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.275e-05/0.1185, allocations: 11.91 kB / 463.5 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.096e-05/0.1186, allocations: 15.94 kB / 463.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.652e-05/0.1187, allocations: 4 kB / 463.5 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.664e-05/0.1187, allocations: 7.938 kB / 463.5 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.912e-05/0.1188, allocations: 11.98 kB / 463.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1188, allocations: 0 / 463.5 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.024e-05/0.1188, allocations: 4 kB / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.922e-05/0.1188, allocations: 3.938 kB / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.464e-05/0.1189, allocations: 4 kB / 463.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.379e-05/0.1189, allocations: 19.91 kB / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1189, allocations: 0 / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.1189, allocations: 0 / 463.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.119, allocations: 0 / 463.5 MB, free: 13.34 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.0004463/0.1194, allocations: 323.5 kB / 463.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1195, allocations: 8.031 kB / 463.9 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.88e-05/0.1195, allocations: 12.94 kB / 463.9 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.1197, allocations: 164.6 kB / 464 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.1197, allocations: 4.312 kB / 464 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.1197, allocations: 4.375 kB / 464 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.1198, allocations: 47.97 kB / 464.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1198, allocations: 192 / 464.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.1199, allocations: 3.938 kB / 464.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1199, allocations: 0 / 464.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/0.1199, allocations: 3.938 kB / 464.1 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003108/0.1202, allocations: 170.5 kB / 464.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.379e-05/0.1203, allocations: 33.19 kB / 464.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.896e-05/0.1203, allocations: 21.83 kB / 464.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.1203, allocations: 0 / 464.3 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.1204, allocations: 38.5 kB / 464.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1204, allocations: 0 / 464.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001544/0.1205, allocations: 49.58 kB / 464.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.639e-05/0.1206, allocations: 81.09 kB / 464.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.1207, allocations: 105.8 kB / 464.6 MB, free: 12.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.1207, allocations: 29.7 kB / 464.6 MB, free: 12.03 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.1208, allocations: 80.39 kB / 464.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.1208, allocations: 11.89 kB / 464.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.169e-05/0.1208, allocations: 17.72 kB / 464.7 MB, free: 11.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.121, allocations: 310.8 kB / 465 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.121, allocations: 8 kB / 465 MB, free: 11.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.579e-05/0.121, allocations: 27.42 kB / 465.1 MB, free: 11.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.1211, allocations: 43.38 kB / 465.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1211, allocations: 4 kB / 465.1 MB, free: 11.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.611e-05/0.1212, allocations: 61.56 kB / 465.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1212, allocations: 4 kB / 465.2 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1212, allocations: 7.938 kB / 465.2 MB, free: 11.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.1212, allocations: 4.062 kB / 465.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.676e-05/0.1213, allocations: 8 kB / 465.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1213, allocations: 4 kB / 465.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.186e-05/0.1213, allocations: 4 kB / 465.2 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.1213, allocations: 4 kB / 465.2 MB, free: 11.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 7.215e-05/0.1214, allocations: 109.8 kB / 465.3 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.355e-05/0.1214, allocations: 7.906 kB / 465.3 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.1215, allocations: 15.05 kB / 465.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1215, allocations: 0 / 465.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1215, allocations: 4 kB / 465.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1215, allocations: 0 / 465.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.1216, allocations: 153.7 kB / 465.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1217, allocations: 0 / 465.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.327e-05/0.1217, allocations: 4 kB / 465.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.798e-06/0.1217, allocations: 4 kB / 465.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1217, allocations: 7.938 kB / 465.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.369e-06/0.1217, allocations: 7.922 kB / 465.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1217, allocations: 0 / 465.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.1218, allocations: 70 kB / 465.6 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.1219, allocations: 85.12 kB / 465.7 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.1219, allocations: 3.938 kB / 465.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.277e-05/0.1219, allocations: 0 / 465.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.122, allocations: 4 kB / 465.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.122, allocations: 3.938 kB / 465.7 MB, free: 10.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.199e-05/0.122, allocations: 83.28 kB / 465.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.122, allocations: 96 / 465.8 MB, free: 10.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001842/0.1222, allocations: 8 kB / 465.8 MB, free: 10.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (v.y,v.x) * 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): 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 Backend phase and start with SimCode phase: time 8.083e-05/0.1223, allocations: 99.17 kB / 465.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.96e-05/0.1224, allocations: 16 kB / 465.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1224, allocations: 0 / 465.9 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.1224, allocations: 7.938 kB / 465.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.1226, allocations: 8.312 kB / 465.9 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.1229, allocations: 151.5 kB / 466 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002209/0.1231, allocations: 0.6768 MB / 466.7 MB, free: 9.715 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.679e-05/0.1231, allocations: 4 kB / 466.7 MB, free: 9.711 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.1231, allocations: 7.438 kB / 466.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1231, allocations: 0 / 466.7 MB, free: 9.703 MB / 302.1 MB Notification: Performance of Templates: time 0.001919/0.1251, allocations: 298.2 kB / 467 MB, free: 9.414 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.Classes.TestVector2D.makefile (rm -f HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; mkfifo HanserModelica_HanserModelica.Classes.TestVector2D.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Classes.TestVector2D.pipe >> ../files/HanserModelica_HanserModelica.Classes.TestVector2D.sim & ./HanserModelica_HanserModelica.Classes.TestVector2D -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Classes.TestVector2D.pipe 2>&1)