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.00687/0.00687, allocations: 100.9 kB / 15.73 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.447/1.447, allocations: 222.9 MB / 239.4 MB, free: 4.57 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.001719/0.00172, allocations: 184.5 kB / 289.7 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03535/0.03535, allocations: 8.795 MB / 348.6 MB, free: 4.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 79.88 kB / 463.9 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1226, allocations: 51.57 MB / 0.5034 GB, free: 9.539 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.00423/0.1269, allocations: 1.815 MB / 0.5051 GB, free: 7.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1279, allocations: 462.8 kB / 0.5056 GB, free: 7.254 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.1281, allocations: 4 kB / 0.5056 GB, free: 7.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001594/0.1283, allocations: 15.84 kB / 0.5056 GB, free: 7.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001311/0.1285, allocations: 27.72 kB / 0.5056 GB, free: 7.207 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.1287, allocations: 27.91 kB / 0.5057 GB, free: 7.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.129, allocations: 123.5 kB / 0.5058 GB, free: 7.059 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001893/0.1292, allocations: 53.08 kB / 0.5058 GB, free: 7.008 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001167/0.1293, allocations: 43.86 kB / 0.5059 GB, free: 6.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1294, allocations: 43.78 kB / 0.5059 GB, free: 6.922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.1295, allocations: 12 kB / 0.5059 GB, free: 6.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.639e-05/0.1295, allocations: 11.94 kB / 0.5059 GB, free: 6.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.1295, allocations: 23.92 kB / 0.506 GB, free: 6.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.594e-05/0.1296, allocations: 59.73 kB / 0.506 GB, free: 6.816 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.1298, allocations: 119.6 kB / 0.5061 GB, free: 6.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.1299, allocations: 4 kB / 0.5061 GB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1299, allocations: 0 / 0.5061 GB, free: 6.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.1299, allocations: 0 / 0.5061 GB, free: 6.695 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.0006494/0.1305, allocations: 411.1 kB / 0.5065 GB, free: 6.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.1306, allocations: 8.031 kB / 0.5065 GB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.696e-05/0.1307, allocations: 16.78 kB / 0.5065 GB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.131, allocations: 196.1 kB / 0.5067 GB, free: 5.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.423e-05/0.131, allocations: 12.36 kB / 0.5067 GB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.271e-05/0.131, allocations: 16.38 kB / 0.5068 GB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.1313, allocations: 106 kB / 0.5069 GB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.1313, allocations: 0 / 0.5069 GB, free: 5.855 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.1313, allocations: 4 kB / 0.5069 GB, free: 5.852 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-06/0.1313, allocations: 4 kB / 0.5069 GB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1315, allocations: 59.92 kB / 0.5069 GB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008466/0.1323, allocations: 498.2 kB / 0.5074 GB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.1324, allocations: 46.67 kB / 0.5074 GB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.629e-05/0.1325, allocations: 20.84 kB / 0.5075 GB, free: 5.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.1325, allocations: 7.875 kB / 0.5075 GB, free: 5.152 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.1325, allocations: 30.56 kB / 0.5075 GB, free: 5.113 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.1325, allocations: 4 kB / 0.5075 GB, free: 5.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002106/0.1328, allocations: 61.59 kB / 0.5076 GB, free: 5.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.1328, allocations: 55.41 kB / 0.5076 GB, free: 4.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.133, allocations: 144.6 kB / 0.5078 GB, free: 4.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.133, allocations: 25.7 kB / 0.5078 GB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.1331, allocations: 127.9 kB / 0.5079 GB, free: 4.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.1331, allocations: 7.906 kB / 0.5079 GB, free: 4.656 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.1332, allocations: 25.62 kB / 0.5079 GB, free: 4.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.1333, allocations: 326.8 kB / 0.5082 GB, free: 4.297 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.1334, allocations: 12 kB / 0.5083 GB, free: 4.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.352e-05/0.1334, allocations: 34.5 kB / 0.5083 GB, free: 4.242 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.146e-05/0.1335, allocations: 42.58 kB / 0.5083 GB, free: 4.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1335, allocations: 0 / 0.5083 GB, free: 4.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001245/0.1336, allocations: 85.62 kB / 0.5084 GB, free: 4.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.1336, allocations: 4 kB / 0.5084 GB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1337, allocations: 0 / 0.5084 GB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.1337, allocations: 4 kB / 0.5084 GB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1338, allocations: 19.92 kB / 0.5084 GB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1338, allocations: 0 / 0.5084 GB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.674e-05/0.1339, allocations: 11.84 kB / 0.5085 GB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.1339, allocations: 0 / 0.5085 GB, free: 4.062 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 9.419e-05/0.134, allocations: 133.7 kB / 0.5086 GB, free: 3.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.134, allocations: 11.91 kB / 0.5086 GB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.134, allocations: 12.42 kB / 0.5086 GB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.134, allocations: 0 / 0.5086 GB, free: 3.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.601e-05/0.1341, allocations: 3.984 kB / 0.5086 GB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1341, allocations: 0 / 0.5086 GB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.1343, allocations: 197.6 kB / 0.5088 GB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1343, allocations: 0 / 0.5088 GB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.063e-05/0.1344, allocations: 12.06 kB / 0.5088 GB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1344, allocations: 4 kB / 0.5088 GB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1344, allocations: 3.938 kB / 0.5088 GB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1344, allocations: 4 kB / 0.5088 GB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1344, allocations: 0 / 0.5088 GB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.1346, allocations: 167.4 kB / 0.509 GB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.1347, allocations: 89.05 kB / 0.5091 GB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.1347, allocations: 0 / 0.5091 GB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.169e-05/0.1348, allocations: 4 kB / 0.5091 GB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.1348, allocations: 0 / 0.5091 GB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-06/0.1348, allocations: 3.984 kB / 0.5091 GB, free: 3.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.404e-05/0.1349, allocations: 121.1 kB / 0.5092 GB, free: 3.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1349, allocations: 0 / 0.5092 GB, free: 3.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002331/0.1352, allocations: 23.84 kB / 0.5092 GB, free: 3.188 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.0001202/0.1353, allocations: 91.25 kB / 0.5093 GB, free: 3.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001277/0.1354, allocations: 35.92 kB / 0.5093 GB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.1354, allocations: 0 / 0.5093 GB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 2.051e-05/0.1355, allocations: 15.94 kB / 0.5093 GB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.1357, allocations: 24.05 kB / 0.5094 GB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005404/0.1363, allocations: 271.1 kB / 0.5096 GB, free: 2.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.1366, allocations: 0.7002 MB / 0.5103 GB, free: 1.996 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.391e-05/0.1367, allocations: 4.672 kB / 0.5103 GB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.1367, allocations: 11.44 kB / 0.5103 GB, free: 1.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1367, allocations: 0 / 0.5103 GB, free: 1.98 MB / 350.1 MB Notification: Performance of Templates: time 0.003037/0.1397, allocations: 0.7198 MB / 0.511 GB, free: 1.27 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)