Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.Signals.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.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") translateModel(HanserModelica.Electrical.Signals,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.Signals") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 115.8 kB / 16.42 MB, free: 6.504 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.306/1.306, allocations: 222.9 MB / 240.1 MB, free: 4.574 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.001306/0.001306, allocations: 196.4 kB / 290.4 MB, free: 2.289 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03613/0.03613, allocations: 8.793 MB / 349.3 MB, free: 4.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 79.88 kB / 464.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08/0.08153, allocations: 51.56 MB / 0.5041 GB, free: 9.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003177/0.08473, allocations: 2.195 MB / 0.5062 GB, free: 7.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008201/0.08557, allocations: 498.7 kB / 0.5067 GB, free: 6.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.08569, allocations: 7.938 kB / 0.5067 GB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.08585, allocations: 27.78 kB / 0.5067 GB, free: 6.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.08595, allocations: 39.64 kB / 0.5067 GB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.08616, allocations: 47.88 kB / 0.5068 GB, free: 6.727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.08639, allocations: 163.4 kB / 0.5069 GB, free: 6.566 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.08656, allocations: 66.09 kB / 0.507 GB, free: 6.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.053e-05/0.08665, allocations: 63.73 kB / 0.5071 GB, free: 6.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.08677, allocations: 75.61 kB / 0.5071 GB, free: 6.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.08681, allocations: 16 kB / 0.5072 GB, free: 6.348 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.708e-05/0.08684, allocations: 12 kB / 0.5072 GB, free: 6.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.08688, allocations: 27.92 kB / 0.5072 GB, free: 6.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.358e-05/0.08696, allocations: 75.61 kB / 0.5073 GB, free: 6.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.08717, allocations: 167.3 kB / 0.5074 GB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.08718, allocations: 0 / 0.5074 GB, free: 6.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.08718, allocations: 0 / 0.5074 GB, free: 6.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.0872, allocations: 4 kB / 0.5074 GB, free: 6.066 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005994/0.0878, allocations: 451 kB / 0.5079 GB, free: 5.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.08784, allocations: 12.03 kB / 0.5079 GB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.0879, allocations: 20.75 kB / 0.5079 GB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.08816, allocations: 221.5 kB / 0.5081 GB, free: 5.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.08819, allocations: 8.375 kB / 0.5081 GB, free: 5.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.08822, allocations: 20.38 kB / 0.5081 GB, free: 5.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003016/0.08853, allocations: 176.9 kB / 0.5083 GB, free: 5.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.08855, allocations: 3.938 kB / 0.5083 GB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.08857, allocations: 8 kB / 0.5083 GB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.08859, allocations: 0 / 0.5083 GB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.0888, allocations: 88.8 kB / 0.5084 GB, free: 4.977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/0.08974, allocations: 0.7301 MB / 0.5091 GB, free: 4.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.08993, allocations: 82.55 kB / 0.5092 GB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.09001, allocations: 32.84 kB / 0.5092 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.635e-06/0.09002, allocations: 0 / 0.5092 GB, free: 4.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.09006, allocations: 38.56 kB / 0.5093 GB, free: 4.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.09006, allocations: 0 / 0.5093 GB, free: 4.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.000273/0.09034, allocations: 105.5 kB / 0.5094 GB, free: 3.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.09038, allocations: 59.56 kB / 0.5094 GB, free: 3.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.09051, allocations: 160.6 kB / 0.5096 GB, free: 3.656 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.09053, allocations: 25.7 kB / 0.5096 GB, free: 3.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.673e-05/0.09062, allocations: 135.6 kB / 0.5097 GB, free: 3.488 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.353e-05/0.09065, allocations: 31.55 kB / 0.5098 GB, free: 3.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.113e-05/0.0907, allocations: 25.72 kB / 0.5098 GB, free: 3.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.09081, allocations: 330.8 kB / 0.5101 GB, free: 3.094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.089e-05/0.09089, allocations: 23.98 kB / 0.5101 GB, free: 3.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.26e-05/0.09098, allocations: 63.91 kB / 0.5102 GB, free: 2.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.09114, allocations: 100.2 kB / 0.5103 GB, free: 2.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.09115, allocations: 0 / 0.5103 GB, free: 2.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002157/0.09138, allocations: 121.5 kB / 0.5104 GB, free: 2.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.0914, allocations: 4 kB / 0.5104 GB, free: 2.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.09141, allocations: 3.938 kB / 0.5104 GB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.09143, allocations: 4 kB / 0.5104 GB, free: 2.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.09157, allocations: 27.98 kB / 0.5104 GB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.09158, allocations: 0 / 0.5104 GB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.412e-05/0.09166, allocations: 19.97 kB / 0.5104 GB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.09168, allocations: 4 kB / 0.5104 GB, free: 2.695 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: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.352e-05/0.09178, allocations: 133.7 kB / 0.5106 GB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.09182, allocations: 11.84 kB / 0.5106 GB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.09186, allocations: 16.72 kB / 0.5106 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.09186, allocations: 0 / 0.5106 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.09187, allocations: 0 / 0.5106 GB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.09193, allocations: 92.86 kB / 0.5107 GB, free: 2.414 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.09195, allocations: 3.984 kB / 0.5107 GB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.09207, allocations: 8 kB / 0.5107 GB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.0921, allocations: 4 kB / 0.5107 GB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002815/0.09239, allocations: 168.9 kB / 0.5109 GB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002935/0.0927, allocations: 294.6 kB / 0.5112 GB, free: 1.922 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.643e-05/0.09277, allocations: 24.48 kB / 0.5112 GB, free: 1.898 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.492e-05/0.09285, allocations: 116.1 kB / 0.5113 GB, free: 1.785 MB / 350.1 MB Notification: Performance of Backend: time 4.91e-07/0.09286, allocations: 0 / 0.5113 GB, free: 1.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003841/0.09325, allocations: 122.3 kB / 0.5114 GB, free: 1.66 MB / 350.1 MB Notification: Performance of SimCode: time 0.000756/0.09402, allocations: 0.8038 MB / 0.5122 GB, free: 0.8086 MB / 350.1 MB Notification: Performance of Templates: time 0.003521/0.09755, allocations: 1.186 MB / 0.5133 GB, free: 15.63 MB / 366.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.Signals.makefile (rm -f HanserModelica_HanserModelica.Electrical.Signals.pipe ; mkfifo HanserModelica_HanserModelica.Electrical.Signals.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Electrical.Signals.pipe >> ../files/HanserModelica_HanserModelica.Electrical.Signals.sim & ./HanserModelica_HanserModelica.Electrical.Signals -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Electrical.Signals.pipe 2>&1)