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.001183/0.001183, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 239.2 MB, free: 4.625 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.001237/0.001237, allocations: 187.6 kB / 289.6 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.0344/0.0344, allocations: 8.794 MB / 348.5 MB, free: 4.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 79.88 kB / 411.1 MB, free: 42.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 51.57 MB / 462.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003684/0.1086, allocations: 2.194 MB / 464.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008773/0.1095, allocations: 0.4909 MB / 465.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1097, allocations: 4 kB / 465.3 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.1098, allocations: 23.72 kB / 465.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.262e-05/0.1099, allocations: 39.64 kB / 465.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.1101, allocations: 47.94 kB / 465.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1103, allocations: 159.3 kB / 465.6 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.1106, allocations: 74.06 kB / 465.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.393e-05/0.1107, allocations: 59.73 kB / 465.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.1108, allocations: 67.69 kB / 465.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.464e-05/0.1109, allocations: 15.94 kB / 465.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.726e-05/0.1109, allocations: 16 kB / 465.8 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.1109, allocations: 27.92 kB / 465.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.781e-05/0.111, allocations: 79.59 kB / 465.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1112, allocations: 167.6 kB / 466.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1112, allocations: 0 / 466.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1112, allocations: 0 / 466.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1113, allocations: 4 kB / 466.1 MB, free: 10.89 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006216/0.1119, allocations: 458.8 kB / 466.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.1119, allocations: 11.97 kB / 466.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.112, allocations: 24.64 kB / 466.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.1122, allocations: 214.4 kB / 466.8 MB, free: 10.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.1123, allocations: 12.38 kB / 466.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.1123, allocations: 12.38 kB / 466.8 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.1126, allocations: 169.1 kB / 467 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1126, allocations: 0 / 467 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.1127, allocations: 8 kB / 467 MB, free: 9.902 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1127, allocations: 4 kB / 467 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.1129, allocations: 92.73 kB / 467.1 MB, free: 9.809 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1139, allocations: 0.7341 MB / 467.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.1141, allocations: 66.62 kB / 467.9 MB, free: 8.93 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/0.1142, allocations: 40.84 kB / 467.9 MB, free: 8.887 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1142, allocations: 7.922 kB / 467.9 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.424e-05/0.1142, allocations: 38.56 kB / 468 MB, free: 8.832 MB / 302.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.1142, allocations: 0 / 468 MB, free: 8.832 MB / 302.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003078/0.1146, allocations: 105.6 kB / 468.1 MB, free: 8.723 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.1146, allocations: 55.41 kB / 468.1 MB, free: 8.656 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.1148, allocations: 161 kB / 468.3 MB, free: 8.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.1148, allocations: 29.7 kB / 468.3 MB, free: 8.453 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.1149, allocations: 135.5 kB / 468.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.1149, allocations: 23.66 kB / 468.5 MB, free: 8.293 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-05/0.115, allocations: 37.64 kB / 468.5 MB, free: 8.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1151, allocations: 322.8 kB / 468.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.679e-05/0.1152, allocations: 23.98 kB / 468.8 MB, free: 7.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.558e-05/0.1153, allocations: 64.22 kB / 468.9 MB, free: 7.824 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.1154, allocations: 92.22 kB / 469 MB, free: 7.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1154, allocations: 0 / 469 MB, free: 7.719 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002204/0.1157, allocations: 133.3 kB / 469.1 MB, free: 7.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1157, allocations: 8.125 kB / 469.1 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1157, allocations: 7.938 kB / 469.1 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1157, allocations: 4 kB / 469.1 MB, free: 7.562 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.1159, allocations: 27.92 kB / 469.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1159, allocations: 0 / 469.2 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.722e-05/0.116, allocations: 11.94 kB / 469.2 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.116, allocations: 4 kB / 469.2 MB, free: 7.52 MB / 302.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 0.0001082/0.1161, allocations: 129.8 kB / 469.3 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.1161, allocations: 11.81 kB / 469.3 MB, free: 7.371 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.1162, allocations: 20.7 kB / 469.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.1162, allocations: 0 / 469.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1162, allocations: 0 / 469.3 MB, free: 7.352 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1162, allocations: 3.938 kB / 469.3 MB, free: 7.348 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.1164, allocations: 225.5 kB / 469.6 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1164, allocations: 0 / 469.6 MB, free: 7.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1165, allocations: 19.92 kB / 469.6 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.1166, allocations: 4 kB / 469.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1166, allocations: 0 / 469.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1166, allocations: 0 / 469.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1166, allocations: 4.094 kB / 469.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.1169, allocations: 211.3 kB / 469.8 MB, free: 6.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.52e-05/0.1169, allocations: 85.05 kB / 469.9 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.117, allocations: 4 kB / 469.9 MB, free: 6.723 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.347e-05/0.1171, allocations: 7.984 kB / 469.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.1171, allocations: 7.938 kB / 469.9 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.1171, allocations: 8 kB / 469.9 MB, free: 6.699 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.885e-05/0.1172, allocations: 115.2 kB / 470 MB, free: 6.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1172, allocations: 0 / 470 MB, free: 6.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002609/0.1175, allocations: 35.84 kB / 470.1 MB, free: 6.551 MB / 302.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 9.246e-05/0.1176, allocations: 95.25 kB / 470.1 MB, free: 6.449 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1178, allocations: 67.91 kB / 470.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1178, allocations: 256 / 470.2 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.924e-05/0.1179, allocations: 31.92 kB / 470.2 MB, free: 6.352 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.1182, allocations: 25.91 kB / 470.3 MB, free: 6.328 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.1189, allocations: 369.2 kB / 470.6 MB, free: 5.941 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.1192, allocations: 0.7119 MB / 471.3 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.913e-05/0.1193, allocations: 12.81 kB / 471.4 MB, free: 5.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.967e-05/0.1193, allocations: 19.38 kB / 471.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1193, allocations: 0 / 471.4 MB, free: 5.172 MB / 302.1 MB Notification: Performance of Templates: time 0.003562/0.1229, allocations: 0.9652 MB / 472.3 MB, free: 4.219 MB / 302.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)