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.001128/0.001128, allocations: 100.9 kB / 16.4 MB, free: 6.461 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.303/1.303, allocations: 222.9 MB / 240.1 MB, free: 4.34 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.001274/0.001273, allocations: 192.4 kB / 290.4 MB, free: 2.062 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03405/0.03405, allocations: 8.807 MB / 349.3 MB, free: 4.543 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 83.88 kB / 464.6 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08473/0.08614, allocations: 51.56 MB / 0.504 GB, free: 9.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003003/0.08918, allocations: 2.205 MB / 0.5062 GB, free: 7.199 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007031/0.0899, allocations: 498.7 kB / 0.5067 GB, free: 6.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.548e-05/0.09001, allocations: 4 kB / 0.5067 GB, free: 6.703 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.09016, allocations: 31.66 kB / 0.5067 GB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.09024, allocations: 39.64 kB / 0.5067 GB, free: 6.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.0904, allocations: 43.94 kB / 0.5068 GB, free: 6.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.09061, allocations: 163.3 kB / 0.5069 GB, free: 6.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.09076, allocations: 74.06 kB / 0.507 GB, free: 6.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.873e-05/0.09084, allocations: 59.73 kB / 0.5071 GB, free: 6.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.09095, allocations: 71.62 kB / 0.5071 GB, free: 6.227 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.09098, allocations: 12 kB / 0.5072 GB, free: 6.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.795e-05/0.09101, allocations: 16 kB / 0.5072 GB, free: 6.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.09105, allocations: 27.92 kB / 0.5072 GB, free: 6.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.09112, allocations: 83.59 kB / 0.5073 GB, free: 6.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001806/0.09131, allocations: 167.3 kB / 0.5074 GB, free: 5.926 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.09132, allocations: 0 / 0.5074 GB, free: 5.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.09132, allocations: 0 / 0.5074 GB, free: 5.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.09133, allocations: 3.938 kB / 0.5074 GB, free: 5.922 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.000546/0.09188, allocations: 457.3 kB / 0.5079 GB, free: 5.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.09192, allocations: 12.03 kB / 0.5079 GB, free: 5.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.468e-05/0.09197, allocations: 20.75 kB / 0.5079 GB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.0922, allocations: 216 kB / 0.5081 GB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.09222, allocations: 8.375 kB / 0.5081 GB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.021e-05/0.09226, allocations: 20.36 kB / 0.5081 GB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002715/0.09254, allocations: 164.9 kB / 0.5083 GB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.09255, allocations: 0 / 0.5083 GB, free: 4.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.09258, allocations: 8 kB / 0.5083 GB, free: 4.934 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.09259, allocations: 12 kB / 0.5083 GB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001887/0.09278, allocations: 92.73 kB / 0.5084 GB, free: 4.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/0.09364, allocations: 0.7263 MB / 0.5091 GB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.09381, allocations: 74.55 kB / 0.5092 GB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.293e-05/0.09389, allocations: 36.84 kB / 0.5092 GB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.254e-06/0.09391, allocations: 0 / 0.5092 GB, free: 3.914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.09394, allocations: 38.56 kB / 0.5093 GB, free: 3.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.365e-06/0.09395, allocations: 0 / 0.5093 GB, free: 3.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002649/0.09422, allocations: 109.6 kB / 0.5094 GB, free: 3.754 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.074e-05/0.09426, allocations: 51.41 kB / 0.5094 GB, free: 3.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.0944, allocations: 164.7 kB / 0.5096 GB, free: 3.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.505e-05/0.09442, allocations: 25.7 kB / 0.5096 GB, free: 3.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.366e-05/0.0945, allocations: 135.5 kB / 0.5097 GB, free: 3.352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.09452, allocations: 31.55 kB / 0.5098 GB, free: 3.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.193e-05/0.09457, allocations: 29.72 kB / 0.5098 GB, free: 3.285 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.664e-05/0.09467, allocations: 322.8 kB / 0.5101 GB, free: 2.961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.377e-05/0.09475, allocations: 27.98 kB / 0.5101 GB, free: 2.934 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.712e-05/0.09484, allocations: 60.27 kB / 0.5102 GB, free: 2.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001399/0.09498, allocations: 96.16 kB / 0.5103 GB, free: 2.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.09499, allocations: 0 / 0.5103 GB, free: 2.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002099/0.09521, allocations: 125.5 kB / 0.5104 GB, free: 2.621 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.09523, allocations: 4 kB / 0.5104 GB, free: 2.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.09524, allocations: 4.125 kB / 0.5104 GB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.09526, allocations: 7.984 kB / 0.5104 GB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.09538, allocations: 27.92 kB / 0.5104 GB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.0954, allocations: 4 kB / 0.5104 GB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.09547, allocations: 19.83 kB / 0.5104 GB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.09549, allocations: 4 kB / 0.5105 GB, free: 2.551 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.455e-05/0.09558, allocations: 125.7 kB / 0.5106 GB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.09562, allocations: 15.84 kB / 0.5106 GB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.09566, allocations: 12.72 kB / 0.5106 GB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.09566, allocations: 0 / 0.5106 GB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.09567, allocations: 4 kB / 0.5106 GB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.09568, allocations: 7.922 kB / 0.5106 GB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.09589, allocations: 221.5 kB / 0.5108 GB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.0959, allocations: 0 / 0.5108 GB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.895e-05/0.09601, allocations: 16 kB / 0.5108 GB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.09602, allocations: 3.984 kB / 0.5108 GB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.09603, allocations: 4 kB / 0.5108 GB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.09604, allocations: 0 / 0.5108 GB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.09604, allocations: 0 / 0.5108 GB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.0963, allocations: 207.3 kB / 0.511 GB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.09636, allocations: 93.09 kB / 0.5111 GB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.09639, allocations: 7.938 kB / 0.5111 GB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.506e-05/0.09649, allocations: 11.94 kB / 0.5111 GB, free: 1.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.09653, allocations: 7.922 kB / 0.5112 GB, free: 1.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.09654, allocations: 4 kB / 0.5112 GB, free: 1.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.377e-05/0.09662, allocations: 122.6 kB / 0.5113 GB, free: 1.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09662, allocations: 0 / 0.5113 GB, free: 1.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.09688, allocations: 35.84 kB / 0.5113 GB, free: 1.574 MB / 350.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.694e-05/0.09696, allocations: 91.25 kB / 0.5114 GB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001811/0.09715, allocations: 71.91 kB / 0.5115 GB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.09716, allocations: 0 / 0.5115 GB, free: 1.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.916e-05/0.09722, allocations: 32.17 kB / 0.5115 GB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.0975, allocations: 12 kB / 0.5115 GB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006194/0.09813, allocations: 383 kB / 0.5119 GB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.09839, allocations: 0.7157 MB / 0.5126 GB, free: 220 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.09843, allocations: 11.44 kB / 0.5126 GB, free: 208 kB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.09844, allocations: 4 kB / 0.5126 GB, free: 204 kB / 350.1 MB Notification: Performance of Templates: time 0.002728/0.1012, allocations: 1.52 MB / 0.5141 GB, free: 14.68 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)