Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Rotational.Drive.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.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") translateModel(HanserModelica.Rotational.Drive,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Rotational.Drive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 114.8 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.334/1.334, allocations: 222.9 MB / 240.1 MB, free: 4.582 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.001331/0.001331, allocations: 192.4 kB / 290.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03654/0.03654, allocations: 8.805 MB / 349.3 MB, free: 4.652 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 79.86 kB / 464.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07948/0.081, allocations: 51.56 MB / 0.504 GB, free: 9.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Rotational.Drive): time 0.003248/0.08429, allocations: 2.043 MB / 0.506 GB, free: 7.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.08586, allocations: 0.9741 MB / 0.507 GB, free: 6.543 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.086, allocations: 0 / 0.507 GB, free: 6.543 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.08638, allocations: 127.5 kB / 0.5071 GB, free: 6.418 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002824/0.08667, allocations: 107.5 kB / 0.5072 GB, free: 6.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.08706, allocations: 143.5 kB / 0.5074 GB, free: 6.176 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.08734, allocations: 215.2 kB / 0.5076 GB, free: 5.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.08748, allocations: 41.64 kB / 0.5076 GB, free: 5.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.08763, allocations: 99.62 kB / 0.5077 GB, free: 5.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.08782, allocations: 115.6 kB / 0.5078 GB, free: 5.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.08786, allocations: 12 kB / 0.5078 GB, free: 5.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.08798, allocations: 47.98 kB / 0.5079 GB, free: 5.656 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.293e-05/0.08805, allocations: 39.84 kB / 0.5079 GB, free: 5.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.384e-05/0.08815, allocations: 91.45 kB / 0.508 GB, free: 5.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.08845, allocations: 231.2 kB / 0.5082 GB, free: 5.301 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.08846, allocations: 0 / 0.5082 GB, free: 5.301 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.08847, allocations: 0 / 0.5082 GB, free: 5.301 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.08848, allocations: 0 / 0.5082 GB, free: 5.301 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0006585/0.08915, allocations: 0.5025 MB / 0.5087 GB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.08919, allocations: 12.03 kB / 0.5087 GB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.08925, allocations: 20.66 kB / 0.5087 GB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/0.08955, allocations: 251.8 kB / 0.509 GB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.08957, allocations: 8.609 kB / 0.509 GB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.08961, allocations: 20.03 kB / 0.509 GB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002764/0.0899, allocations: 149.3 kB / 0.5091 GB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.08992, allocations: 0 / 0.5091 GB, free: 4.246 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.08994, allocations: 7.984 kB / 0.5091 GB, free: 4.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.08995, allocations: 4 kB / 0.5091 GB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.09012, allocations: 70.25 kB / 0.5092 GB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007725/0.09091, allocations: 0.6186 MB / 0.5098 GB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.09116, allocations: 102.6 kB / 0.5099 GB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.828e-05/0.09124, allocations: 32.84 kB / 0.5099 GB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.09127, allocations: 0 / 0.5099 GB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.09144, allocations: 79.38 kB / 0.51 GB, free: 3.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.733e-06/0.09146, allocations: 8 kB / 0.51 GB, free: 3.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003707/0.09183, allocations: 145.4 kB / 0.5102 GB, free: 3.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.09188, allocations: 59.34 kB / 0.5102 GB, free: 3.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.09212, allocations: 268 kB / 0.5105 GB, free: 2.746 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.09216, allocations: 33.7 kB / 0.5105 GB, free: 2.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.09224, allocations: 136.2 kB / 0.5106 GB, free: 2.566 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.302e-05/0.09228, allocations: 39.45 kB / 0.5107 GB, free: 2.527 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.547e-05/0.09234, allocations: 25.72 kB / 0.5107 GB, free: 2.496 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.09246, allocations: 338.8 kB / 0.511 GB, free: 2.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.399e-05/0.09255, allocations: 27.98 kB / 0.5111 GB, free: 2.129 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.216e-05/0.09265, allocations: 62.11 kB / 0.5111 GB, free: 2.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.09284, allocations: 112.1 kB / 0.5112 GB, free: 1.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.09285, allocations: 0 / 0.5112 GB, free: 1.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002657/0.09312, allocations: 145.3 kB / 0.5114 GB, free: 1.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.09314, allocations: 4 kB / 0.5114 GB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.09315, allocations: 4 kB / 0.5114 GB, free: 1.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.09317, allocations: 4.359 kB / 0.5114 GB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.09332, allocations: 32.11 kB / 0.5114 GB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.09334, allocations: 3.938 kB / 0.5114 GB, free: 1.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.954e-05/0.09342, allocations: 15.84 kB / 0.5114 GB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.09345, allocations: 15.92 kB / 0.5114 GB, free: 1.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001231/0.09358, allocations: 149.7 kB / 0.5116 GB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.09361, allocations: 19.8 kB / 0.5116 GB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.968e-05/0.09367, allocations: 21.41 kB / 0.5116 GB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.09368, allocations: 0 / 0.5116 GB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.09368, allocations: 0 / 0.5116 GB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.897e-05/0.09374, allocations: 100.8 kB / 0.5117 GB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.09377, allocations: 0 / 0.5117 GB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.09384, allocations: 4 kB / 0.5117 GB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.837e-05/0.09389, allocations: 15.92 kB / 0.5117 GB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003676/0.09426, allocations: 196.9 kB / 0.5119 GB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004141/0.09469, allocations: 346.4 kB / 0.5123 GB, free: 0.8047 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.238e-05/0.09478, allocations: 35.95 kB / 0.5123 GB, free: 0.7695 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000169/0.09496, allocations: 205.6 kB / 0.5125 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of Backend: time 1.703e-06/0.09497, allocations: 0 / 0.5125 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.09637, allocations: 0.5065 MB / 0.513 GB, free: 252 kB / 350.1 MB Notification: Performance of SimCode: time 0.0009925/0.09738, allocations: 0.9316 MB / 0.5139 GB, free: 15.27 MB / 366.1 MB Notification: Performance of Templates: time 0.005255/0.1026, allocations: 2.287 MB / 0.5161 GB, free: 13 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Rotational.Drive.makefile (rm -f HanserModelica_HanserModelica.Rotational.Drive.pipe ; mkfifo HanserModelica_HanserModelica.Rotational.Drive.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Rotational.Drive.pipe >> ../files/HanserModelica_HanserModelica.Rotational.Drive.sim & ./HanserModelica_HanserModelica.Rotational.Drive -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Rotational.Drive.pipe 2>&1)