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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009174/0.0009173, allocations: 174.5 kB / 7.654 MB, free: 1.395 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.06641/0.06641, allocations: 8.717 MB / 16.79 MB, free: 3.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.5 MB / 240.9 MB, free: 13.2 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009783/0.0009784, allocations: 95.7 kB / 293.9 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.416e-05/1.42e-05, allocations: 0 / 352.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 52.55 MB / 405.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3501/0.456, allocations: 79.32 MB / 484.5 MB, free: 8.047 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001618/0.4562, allocations: 66.41 kB / 484.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006331/0.4625, allocations: 2.82 MB / 487.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4626, allocations: 0 / 487.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.4626, allocations: 4 kB / 487.4 MB, free: 5.691 MB / 346.7 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.0003516/0.4629, allocations: 427.4 kB / 487.8 MB, free: 5.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.463, allocations: 11.98 kB / 487.8 MB, free: 5.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.463, allocations: 16.44 kB / 487.8 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.4632, allocations: 210.2 kB / 488 MB, free: 4.984 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4632, allocations: 4 kB / 488 MB, free: 4.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.607e-05/0.4633, allocations: 8 kB / 488.1 MB, free: 4.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001365/0.4634, allocations: 72.3 kB / 488.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001847/0.4636, allocations: 145.2 kB / 488.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4636, allocations: 0 / 488.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.4636, allocations: 0 / 488.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4636, allocations: 7.828 kB / 488.3 MB, free: 4.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000737/0.4644, allocations: 0.7018 MB / 489 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001077/0.4645, allocations: 65.94 kB / 489 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.4646, allocations: 35.94 kB / 489.1 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/0.4646, allocations: 0 / 489.1 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.4646, allocations: 31.31 kB / 489.1 MB, free: 3.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.01e-07/0.4646, allocations: 4 kB / 489.1 MB, free: 3.977 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001478/0.4648, allocations: 74.19 kB / 489.2 MB, free: 3.906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.414e-05/0.4648, allocations: 51.41 kB / 489.2 MB, free: 3.844 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.4649, allocations: 130.5 kB / 489.4 MB, free: 3.715 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.4649, allocations: 25.7 kB / 489.4 MB, free: 3.684 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.517e-05/0.4649, allocations: 142 kB / 489.5 MB, free: 3.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.39e-05/0.465, allocations: 16.72 kB / 489.5 MB, free: 3.539 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.465, allocations: 0 / 489.5 MB, free: 3.539 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.154e-05/0.465, allocations: 327.8 kB / 489.9 MB, free: 3.211 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.227e-05/0.4651, allocations: 23.94 kB / 489.9 MB, free: 3.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.4651, allocations: 58.69 kB / 489.9 MB, free: 3.117 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.063e-05/0.4652, allocations: 20 kB / 490 MB, free: 3.098 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4652, allocations: 0 / 490 MB, free: 3.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001233/0.4653, allocations: 114.9 kB / 490.1 MB, free: 2.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.4653, allocations: 8 kB / 490.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.4653, allocations: 0 / 490.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.4653, allocations: 0 / 490.1 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.4655, allocations: 27.98 kB / 490.1 MB, free: 2.945 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4655, allocations: 3.938 kB / 490.1 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.4655, allocations: 8.469 kB / 490.1 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.4656, allocations: 4.125 kB / 490.1 MB, free: 2.93 MB / 346.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.4656, allocations: 116.9 kB / 490.2 MB, free: 2.809 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.4656, allocations: 11.86 kB / 490.2 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.4657, allocations: 16.61 kB / 490.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4657, allocations: 0 / 490.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.4657, allocations: 1.375 kB / 490.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4657, allocations: 0 / 490.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.4658, allocations: 187.6 kB / 490.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.4658, allocations: 0 / 490.4 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001019/0.466, allocations: 24.88 kB / 490.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.466, allocations: 0 / 490.5 MB, free: 2.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.466, allocations: 3.953 kB / 490.5 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.466, allocations: 0.5625 kB / 490.5 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.466, allocations: 4.594 kB / 490.5 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.4662, allocations: 191.3 kB / 490.7 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.4662, allocations: 85.05 kB / 490.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.4662, allocations: 0 / 490.8 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.713e-05/0.4663, allocations: 16.69 kB / 490.8 MB, free: 2.211 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.4664, allocations: 9.031 kB / 490.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.4664, allocations: 0 / 490.8 MB, free: 2.203 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.98e-05/0.4664, allocations: 108.8 kB / 490.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4664, allocations: 0 / 490.9 MB, free: 2.098 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002423/0.4667, allocations: 31.84 kB / 490.9 MB, free: 2.066 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inductor.i,integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001001/0.4668, allocations: 95.19 kB / 491 MB, free: 1.965 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.4669, allocations: 55.94 kB / 491.1 MB, free: 1.91 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4669, allocations: 4 kB / 491.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.467, allocations: 20.53 kB / 491.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.4672, allocations: 15.16 kB / 491.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.4677, allocations: 229.2 kB / 491.3 MB, free: 1.648 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.4679, allocations: 0.7235 MB / 492 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.15e-05/0.468, allocations: 10.48 kB / 492.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.188e-05/0.468, allocations: 11.44 kB / 492.1 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.468, allocations: 4 kB / 492.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of Templates: time 0.002588/0.4706, allocations: 0.7684 MB / 492.8 MB, free: 148 kB / 346.7 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)