Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.FirstSteps.Electrical4.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.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") translateModel(HanserModelica.FirstSteps.Electrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.FirstSteps.Electrical4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.434/1.434, allocations: 222.9 MB / 240.1 MB, free: 4.555 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.002012/0.002012, allocations: 192.4 kB / 290.4 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03398/0.03398, allocations: 8.796 MB / 349.3 MB, free: 4.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 79.88 kB / 464.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.118, allocations: 51.56 MB / 0.504 GB, free: 9.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.004143/0.1222, allocations: 1.805 MB / 0.5058 GB, free: 7.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.1235, allocations: 474.7 kB / 0.5063 GB, free: 7.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.1237, allocations: 0 / 0.5063 GB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.1238, allocations: 15.86 kB / 0.5063 GB, free: 7.203 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001127/0.124, allocations: 35.69 kB / 0.5063 GB, free: 7.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1242, allocations: 31.91 kB / 0.5063 GB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.1244, allocations: 119.5 kB / 0.5064 GB, free: 7.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.1246, allocations: 47.36 kB / 0.5065 GB, free: 6.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.761e-05/0.1247, allocations: 39.86 kB / 0.5065 GB, free: 6.938 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1249, allocations: 51.78 kB / 0.5066 GB, free: 6.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.1249, allocations: 8 kB / 0.5066 GB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.165e-05/0.1249, allocations: 12 kB / 0.5066 GB, free: 6.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.125, allocations: 31.84 kB / 0.5066 GB, free: 6.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.1251, allocations: 51.73 kB / 0.5067 GB, free: 6.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.1253, allocations: 119.6 kB / 0.5068 GB, free: 6.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1253, allocations: 0 / 0.5068 GB, free: 6.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1254, allocations: 4 kB / 0.5068 GB, free: 6.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1254, allocations: 0 / 0.5068 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.0006851/0.1261, allocations: 407.1 kB / 0.5072 GB, free: 6.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.745e-05/0.1261, allocations: 12.03 kB / 0.5072 GB, free: 6.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.876e-05/0.1262, allocations: 16.77 kB / 0.5072 GB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.1266, allocations: 200.1 kB / 0.5074 GB, free: 5.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1266, allocations: 8.375 kB / 0.5074 GB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.684e-05/0.1266, allocations: 12.38 kB / 0.5074 GB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000263/0.1269, allocations: 106 kB / 0.5075 GB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1269, allocations: 0 / 0.5075 GB, free: 5.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.127, allocations: 4 kB / 0.5075 GB, free: 5.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.924e-06/0.127, allocations: 4 kB / 0.5075 GB, free: 5.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00017/0.1271, allocations: 59.97 kB / 0.5076 GB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1282, allocations: 0.4942 MB / 0.5081 GB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1283, allocations: 42.56 kB / 0.5081 GB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.1284, allocations: 20.94 kB / 0.5081 GB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.1284, allocations: 3.984 kB / 0.5081 GB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.1285, allocations: 38.5 kB / 0.5082 GB, free: 5.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/0.1285, allocations: 0 / 0.5082 GB, free: 5.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002418/0.1287, allocations: 65.59 kB / 0.5082 GB, free: 5.008 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.1288, allocations: 51.41 kB / 0.5083 GB, free: 4.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.129, allocations: 147 kB / 0.5084 GB, free: 4.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.129, allocations: 25.7 kB / 0.5084 GB, free: 4.762 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.1291, allocations: 119.9 kB / 0.5086 GB, free: 4.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1291, allocations: 11.89 kB / 0.5086 GB, free: 4.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.758e-05/0.1292, allocations: 21.62 kB / 0.5086 GB, free: 4.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1294, allocations: 326.8 kB / 0.5089 GB, free: 4.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.1294, allocations: 12 kB / 0.5089 GB, free: 4.258 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.341e-05/0.1295, allocations: 42.5 kB / 0.509 GB, free: 4.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.911e-05/0.1296, allocations: 42.58 kB / 0.509 GB, free: 4.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1296, allocations: 0 / 0.509 GB, free: 4.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001896/0.1298, allocations: 77.62 kB / 0.5091 GB, free: 4.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/0.1298, allocations: 12.06 kB / 0.5091 GB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1299, allocations: 0 / 0.5091 GB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.1299, allocations: 0 / 0.5091 GB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.1301, allocations: 19.92 kB / 0.5091 GB, free: 4.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.334e-05/0.1301, allocations: 4 kB / 0.5091 GB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.675e-05/0.1302, allocations: 7.844 kB / 0.5091 GB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1302, allocations: 4 kB / 0.5091 GB, free: 4.027 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 0.0001549/0.1304, allocations: 125.7 kB / 0.5092 GB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.1304, allocations: 11.84 kB / 0.5093 GB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.1305, allocations: 12.25 kB / 0.5093 GB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1305, allocations: 4 kB / 0.5093 GB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.1305, allocations: 0 / 0.5093 GB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1305, allocations: 0 / 0.5093 GB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.1308, allocations: 197.5 kB / 0.5095 GB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1308, allocations: 0 / 0.5095 GB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.772e-05/0.1309, allocations: 11.98 kB / 0.5095 GB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.131, allocations: 0 / 0.5095 GB, free: 3.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.131, allocations: 4 kB / 0.5095 GB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.131, allocations: 3.938 kB / 0.5095 GB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.131, allocations: 4 kB / 0.5095 GB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002289/0.1312, allocations: 167.4 kB / 0.5096 GB, free: 3.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.926e-05/0.1313, allocations: 81.02 kB / 0.5097 GB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.1314, allocations: 3.984 kB / 0.5097 GB, free: 3.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.1315, allocations: 4.031 kB / 0.5097 GB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.916e-05/0.1315, allocations: 0 / 0.5097 GB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.1315, allocations: 8.062 kB / 0.5097 GB, free: 3.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1317, allocations: 113 kB / 0.5098 GB, free: 3.191 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1317, allocations: 0 / 0.5098 GB, free: 3.191 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004423/0.1321, allocations: 27.83 kB / 0.5099 GB, free: 3.164 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 0.0001367/0.1323, allocations: 95.25 kB / 0.51 GB, free: 3.062 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.1325, allocations: 35.92 kB / 0.51 GB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1325, allocations: 0 / 0.51 GB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.039e-05/0.1325, allocations: 15.94 kB / 0.51 GB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.133, allocations: 18.56 kB / 0.51 GB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008064/0.1338, allocations: 300.9 kB / 0.5103 GB, free: 2.668 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.1342, allocations: 0.7041 MB / 0.511 GB, free: 1.938 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.856e-05/0.1342, allocations: 11.44 kB / 0.511 GB, free: 1.926 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1343, allocations: 0 / 0.511 GB, free: 1.926 MB / 350.1 MB Notification: Performance of Templates: time 0.003934/0.1382, allocations: 1.11 MB / 0.5121 GB, free: 0.8125 MB / 350.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical4.makefile (rm -f HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; mkfifo HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe ; head -c 1048576 < HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe >> ../files/HanserModelica_HanserModelica.FirstSteps.Electrical4.sim & ./HanserModelica_HanserModelica.FirstSteps.Electrical4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.FirstSteps.Electrical4.pipe 2>&1)