Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical5.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.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") translateModel(HanserModelica.FirstSteps.Electrical5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0102/0.0102, allocations: 100.9 kB / 15.73 MB, free: 6.047 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.34/1.34, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001272/0.001272, allocations: 191.4 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03492/0.03492, allocations: 8.79 MB / 348.6 MB, free: 4.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 75.88 kB / 463.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.121, allocations: 51.57 MB / 0.5034 GB, free: 9.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002899/0.1239, allocations: 1.81 MB / 0.5052 GB, free: 7.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008139/0.1248, allocations: 470.8 kB / 0.5056 GB, free: 7.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001039/0.1249, allocations: 0 / 0.5056 GB, free: 7.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.125, allocations: 19.8 kB / 0.5056 GB, free: 7.211 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.142e-05/0.1251, allocations: 31.7 kB / 0.5056 GB, free: 7.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.1253, allocations: 23.97 kB / 0.5057 GB, free: 7.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.1255, allocations: 123.5 kB / 0.5058 GB, free: 7.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1256, allocations: 45.11 kB / 0.5058 GB, free: 6.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.89e-05/0.1257, allocations: 51.78 kB / 0.5059 GB, free: 6.941 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.684e-05/0.1258, allocations: 47.77 kB / 0.5059 GB, free: 6.895 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.1258, allocations: 12 kB / 0.5059 GB, free: 6.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.261e-05/0.1259, allocations: 8 kB / 0.5059 GB, free: 6.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.743e-05/0.1259, allocations: 23.92 kB / 0.506 GB, free: 6.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.669e-05/0.126, allocations: 59.73 kB / 0.506 GB, free: 6.793 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.1261, allocations: 119.6 kB / 0.5061 GB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1261, allocations: 3.938 kB / 0.5061 GB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1261, allocations: 3.938 kB / 0.5061 GB, free: 6.668 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.1262, allocations: 4 kB / 0.5062 GB, free: 6.664 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005046/0.1267, allocations: 411 kB / 0.5065 GB, free: 6.215 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.1267, allocations: 8.031 kB / 0.5066 GB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1268, allocations: 12.84 kB / 0.5066 GB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.127, allocations: 200.2 kB / 0.5068 GB, free: 5.961 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.127, allocations: 8.375 kB / 0.5068 GB, free: 5.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1271, allocations: 12.31 kB / 0.5068 GB, free: 5.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001891/0.1272, allocations: 106 kB / 0.5069 GB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.1273, allocations: 0 / 0.5069 GB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.1273, allocations: 7.984 kB / 0.5069 GB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1273, allocations: 4 kB / 0.5069 GB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.1274, allocations: 59.97 kB / 0.5069 GB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007536/0.1282, allocations: 0.4903 MB / 0.5074 GB, free: 5.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.641e-05/0.1283, allocations: 50.56 kB / 0.5075 GB, free: 5.148 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.921e-05/0.1283, allocations: 12.86 kB / 0.5075 GB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.1283, allocations: 4 kB / 0.5075 GB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1284, allocations: 34.66 kB / 0.5075 GB, free: 5.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1284, allocations: 0 / 0.5075 GB, free: 5.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001616/0.1285, allocations: 69.52 kB / 0.5076 GB, free: 5.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/0.1286, allocations: 51.41 kB / 0.5076 GB, free: 4.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1287, allocations: 147.3 kB / 0.5078 GB, free: 4.797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1287, allocations: 25.7 kB / 0.5078 GB, free: 4.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.1288, allocations: 119.9 kB / 0.5079 GB, free: 4.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.1288, allocations: 7.906 kB / 0.5079 GB, free: 4.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.1289, allocations: 29.61 kB / 0.508 GB, free: 4.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.129, allocations: 322.8 kB / 0.5083 GB, free: 4.273 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.954e-05/0.129, allocations: 15.98 kB / 0.5083 GB, free: 4.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.1291, allocations: 26.58 kB / 0.5083 GB, free: 4.223 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.018e-05/0.1291, allocations: 58.5 kB / 0.5084 GB, free: 4.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1291, allocations: 0 / 0.5084 GB, free: 4.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001161/0.1293, allocations: 81.62 kB / 0.5084 GB, free: 4.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.1293, allocations: 5.719 kB / 0.5084 GB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1293, allocations: 0 / 0.5084 GB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1293, allocations: 0 / 0.5084 GB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.1294, allocations: 16 kB / 0.5085 GB, free: 4.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1295, allocations: 3.938 kB / 0.5085 GB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.912e-05/0.1295, allocations: 11.83 kB / 0.5085 GB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.1295, allocations: 4 kB / 0.5085 GB, free: 4.031 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.592e-05/0.1296, allocations: 133.7 kB / 0.5086 GB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.1297, allocations: 11.84 kB / 0.5086 GB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.1297, allocations: 8.25 kB / 0.5086 GB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1297, allocations: 0 / 0.5086 GB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1297, allocations: 0 / 0.5086 GB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1297, allocations: 0 / 0.5086 GB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.1299, allocations: 201.5 kB / 0.5088 GB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1299, allocations: 4.062 kB / 0.5088 GB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.13, allocations: 8 kB / 0.5088 GB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.13, allocations: 4 kB / 0.5088 GB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.13, allocations: 0 / 0.5088 GB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.13, allocations: 7.984 kB / 0.5088 GB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.13, allocations: 0 / 0.5088 GB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.1302, allocations: 167.3 kB / 0.509 GB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.1302, allocations: 85.25 kB / 0.5091 GB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.1303, allocations: 4.031 kB / 0.5091 GB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.473e-05/0.1304, allocations: 8.047 kB / 0.5091 GB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.1304, allocations: 7.984 kB / 0.5091 GB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.1304, allocations: 0 / 0.5091 GB, free: 3.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.936e-05/0.1305, allocations: 107.3 kB / 0.5092 GB, free: 3.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1305, allocations: 0 / 0.5092 GB, free: 3.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1307, allocations: 27.84 kB / 0.5092 GB, free: 3.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (inductor.i) * 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 (4): * Single equations (assignments): 4 * 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.889e-05/0.1308, allocations: 95.23 kB / 0.5093 GB, free: 3.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.1309, allocations: 31.94 kB / 0.5093 GB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1309, allocations: 4.125 kB / 0.5093 GB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.138e-05/0.131, allocations: 15.98 kB / 0.5094 GB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.1312, allocations: 20.33 kB / 0.5094 GB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.1317, allocations: 274.9 kB / 0.5096 GB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002404/0.132, allocations: 0.7002 MB / 0.5103 GB, free: 1.969 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.586e-05/0.132, allocations: 8.734 kB / 0.5103 GB, free: 1.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.1321, allocations: 15.44 kB / 0.5104 GB, free: 1.945 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1321, allocations: 0 / 0.5104 GB, free: 1.945 MB / 350.1 MB Notification: Performance of Templates: time 0.003066/0.1351, allocations: 0.6993 MB / 0.511 GB, free: 1.25 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical5.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical5.pipe 2>&1)