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.008094/0.008094, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.454/1.454, allocations: 222.9 MB / 239.4 MB, free: 4.543 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.0014/0.001401, allocations: 180.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03566/0.03566, allocations: 8.8 MB / 348.6 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 75.88 kB / 463.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 51.56 MB / 0.5034 GB, free: 9.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.Signals): time 0.003925/0.1089, allocations: 2.202 MB / 0.5055 GB, free: 7.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.1099, allocations: 0.4947 MB / 0.506 GB, free: 6.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1101, allocations: 4 kB / 0.506 GB, free: 6.891 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.1103, allocations: 27.72 kB / 0.506 GB, free: 6.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.1104, allocations: 31.7 kB / 0.5061 GB, free: 6.832 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001832/0.1106, allocations: 47.89 kB / 0.5061 GB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.1108, allocations: 171.3 kB / 0.5063 GB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001648/0.111, allocations: 70.06 kB / 0.5063 GB, free: 6.547 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.128e-05/0.1111, allocations: 55.8 kB / 0.5064 GB, free: 6.492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1112, allocations: 67.64 kB / 0.5065 GB, free: 6.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.1112, allocations: 16 kB / 0.5065 GB, free: 6.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.777e-05/0.1113, allocations: 16 kB / 0.5065 GB, free: 6.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.1113, allocations: 31.91 kB / 0.5065 GB, free: 6.363 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.061e-05/0.1114, allocations: 83.53 kB / 0.5066 GB, free: 6.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1116, allocations: 167.3 kB / 0.5068 GB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.1116, allocations: 0 / 0.5068 GB, free: 6.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1116, allocations: 0 / 0.5068 GB, free: 6.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1116, allocations: 4 kB / 0.5068 GB, free: 6.113 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.0006265/0.1123, allocations: 447 kB / 0.5072 GB, free: 5.629 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1123, allocations: 16.03 kB / 0.5072 GB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.236e-05/0.1124, allocations: 16.75 kB / 0.5072 GB, free: 5.598 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.1128, allocations: 221.5 kB / 0.5074 GB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.1128, allocations: 12.38 kB / 0.5074 GB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.1128, allocations: 12.38 kB / 0.5075 GB, free: 5.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.1132, allocations: 172.9 kB / 0.5076 GB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1132, allocations: 4 kB / 0.5076 GB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.1132, allocations: 8 kB / 0.5076 GB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1132, allocations: 4 kB / 0.5076 GB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.1135, allocations: 88.8 kB / 0.5077 GB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009626/0.1144, allocations: 0.734 MB / 0.5084 GB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1146, allocations: 74.55 kB / 0.5085 GB, free: 4.145 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.23e-05/0.1147, allocations: 36.84 kB / 0.5085 GB, free: 4.105 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.1147, allocations: 4 kB / 0.5086 GB, free: 4.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1148, allocations: 34.56 kB / 0.5086 GB, free: 4.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/0.1148, allocations: 0 / 0.5086 GB, free: 4.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002609/0.115, allocations: 105.5 kB / 0.5087 GB, free: 3.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.1151, allocations: 51.41 kB / 0.5087 GB, free: 3.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1152, allocations: 168.7 kB / 0.5089 GB, free: 3.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1152, allocations: 25.7 kB / 0.5089 GB, free: 3.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.1154, allocations: 135.6 kB / 0.509 GB, free: 3.543 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.1154, allocations: 35.69 kB / 0.5091 GB, free: 3.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.1154, allocations: 25.72 kB / 0.5091 GB, free: 3.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1156, allocations: 322.8 kB / 0.5094 GB, free: 3.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.116e-05/0.1156, allocations: 27.98 kB / 0.5094 GB, free: 3.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.997e-05/0.1157, allocations: 64.16 kB / 0.5095 GB, free: 3.051 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001423/0.1159, allocations: 96.14 kB / 0.5096 GB, free: 2.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1159, allocations: 0 / 0.5096 GB, free: 2.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002221/0.1161, allocations: 129.5 kB / 0.5097 GB, free: 2.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1161, allocations: 4 kB / 0.5097 GB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1161, allocations: 4 kB / 0.5097 GB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1162, allocations: 0 / 0.5097 GB, free: 2.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.1163, allocations: 23.98 kB / 0.5097 GB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.1163, allocations: 4 kB / 0.5098 GB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.89e-05/0.1164, allocations: 15.84 kB / 0.5098 GB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1164, allocations: 8 kB / 0.5098 GB, free: 2.75 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.632e-05/0.1165, allocations: 129.8 kB / 0.5099 GB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.1165, allocations: 23.86 kB / 0.5099 GB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.1166, allocations: 8.719 kB / 0.5099 GB, free: 2.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1166, allocations: 4 kB / 0.5099 GB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1166, allocations: 0 / 0.5099 GB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1166, allocations: 7.922 kB / 0.5099 GB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.1168, allocations: 217.5 kB / 0.5101 GB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1168, allocations: 0 / 0.5101 GB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.1169, allocations: 19.98 kB / 0.5102 GB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1169, allocations: 0 / 0.5102 GB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.117, allocations: 4 kB / 0.5102 GB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.117, allocations: 4 kB / 0.5102 GB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.117, allocations: 0 / 0.5102 GB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002628/0.1172, allocations: 215.3 kB / 0.5104 GB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.1173, allocations: 81.02 kB / 0.5105 GB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.1173, allocations: 12.02 kB / 0.5105 GB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.218e-05/0.1174, allocations: 7.938 kB / 0.5105 GB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.795e-05/0.1175, allocations: 8 kB / 0.5105 GB, free: 1.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.1175, allocations: 4 kB / 0.5105 GB, free: 1.922 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.043e-05/0.1176, allocations: 116.1 kB / 0.5106 GB, free: 1.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1176, allocations: 0 / 0.5106 GB, free: 1.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1178, allocations: 35.84 kB / 0.5106 GB, free: 1.773 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 8.211e-05/0.1179, allocations: 91.25 kB / 0.5107 GB, free: 1.676 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.1181, allocations: 76.42 kB / 0.5108 GB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1181, allocations: 4.062 kB / 0.5108 GB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.878e-05/0.1182, allocations: 31.97 kB / 0.5108 GB, free: 1.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.1185, allocations: 15.98 kB / 0.5108 GB, free: 1.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006325/0.1191, allocations: 357.3 kB / 0.5112 GB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.1194, allocations: 0.7158 MB / 0.5119 GB, free: 444 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.935e-05/0.1195, allocations: 12.88 kB / 0.5119 GB, free: 424 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.1195, allocations: 11.44 kB / 0.5119 GB, free: 412 kB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1195, allocations: 0 / 0.5119 GB, free: 412 kB / 350.1 MB Notification: Performance of Templates: time 0.003315/0.1228, allocations: 0.9775 MB / 0.5129 GB, free: 15.43 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)