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.001034/0.001034, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.293/1.293, allocations: 222.9 MB / 240.1 MB, free: 4.551 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.001354/0.001354, allocations: 184.5 kB / 290.4 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.03366/0.03366, allocations: 8.799 MB / 349.3 MB, free: 4.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 75.88 kB / 464.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08855/0.09003, allocations: 51.57 MB / 0.504 GB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.002591/0.09266, allocations: 1.81 MB / 0.5058 GB, free: 7.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000711/0.09339, allocations: 462.8 kB / 0.5063 GB, free: 7.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.106e-05/0.09348, allocations: 4 kB / 0.5063 GB, free: 7.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001257/0.09362, allocations: 15.8 kB / 0.5063 GB, free: 7.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.791e-05/0.0937, allocations: 31.7 kB / 0.5063 GB, free: 7.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.09385, allocations: 27.97 kB / 0.5063 GB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001733/0.09403, allocations: 123.4 kB / 0.5064 GB, free: 7.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.09418, allocations: 45.11 kB / 0.5065 GB, free: 7.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.579e-05/0.09424, allocations: 47.8 kB / 0.5065 GB, free: 6.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.911e-05/0.09433, allocations: 47.78 kB / 0.5066 GB, free: 6.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.09435, allocations: 12 kB / 0.5066 GB, free: 6.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.152e-05/0.09438, allocations: 8 kB / 0.5066 GB, free: 6.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.946e-05/0.09442, allocations: 23.92 kB / 0.5066 GB, free: 6.867 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.3e-05/0.09447, allocations: 59.72 kB / 0.5067 GB, free: 6.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001377/0.09462, allocations: 115.6 kB / 0.5068 GB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.09463, allocations: 0 / 0.5068 GB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.09463, allocations: 0 / 0.5068 GB, free: 6.695 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.118e-06/0.09464, allocations: 0 / 0.5068 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.0004775/0.09512, allocations: 419.1 kB / 0.5072 GB, free: 6.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.09516, allocations: 11.97 kB / 0.5072 GB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/0.09521, allocations: 16.83 kB / 0.5072 GB, free: 6.211 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.09543, allocations: 192.1 kB / 0.5074 GB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.09545, allocations: 8.375 kB / 0.5074 GB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.09548, allocations: 12.38 kB / 0.5074 GB, free: 5.965 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.09567, allocations: 113.8 kB / 0.5075 GB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.09569, allocations: 0 / 0.5075 GB, free: 5.848 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.09571, allocations: 3.984 kB / 0.5075 GB, free: 5.844 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.09572, allocations: 8 kB / 0.5075 GB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.09583, allocations: 55.98 kB / 0.5076 GB, free: 5.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007117/0.09655, allocations: 498.2 kB / 0.5081 GB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.511e-05/0.09665, allocations: 54.5 kB / 0.5081 GB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.315e-05/0.09669, allocations: 24.94 kB / 0.5081 GB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.09671, allocations: 0 / 0.5081 GB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.09674, allocations: 30.56 kB / 0.5082 GB, free: 5.102 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.09674, allocations: 0 / 0.5082 GB, free: 5.102 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001696/0.09692, allocations: 65.53 kB / 0.5082 GB, free: 5.031 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.09696, allocations: 55.41 kB / 0.5083 GB, free: 4.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.09707, allocations: 143.3 kB / 0.5084 GB, free: 4.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.09709, allocations: 29.7 kB / 0.5085 GB, free: 4.781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.688e-05/0.09716, allocations: 119.9 kB / 0.5086 GB, free: 4.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.167e-05/0.09718, allocations: 11.89 kB / 0.5086 GB, free: 4.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.09722, allocations: 25.62 kB / 0.5086 GB, free: 4.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.703e-05/0.09732, allocations: 322.8 kB / 0.5089 GB, free: 4.289 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.09736, allocations: 12 kB / 0.5089 GB, free: 4.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.0974, allocations: 30.56 kB / 0.509 GB, free: 4.238 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.873e-05/0.09746, allocations: 50.52 kB / 0.509 GB, free: 4.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.09747, allocations: 0 / 0.509 GB, free: 4.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001051/0.09758, allocations: 77.62 kB / 0.5091 GB, free: 4.098 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.0976, allocations: 4 kB / 0.5091 GB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.09761, allocations: 0 / 0.5091 GB, free: 4.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.09763, allocations: 4 kB / 0.5091 GB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.899e-05/0.09772, allocations: 19.98 kB / 0.5091 GB, free: 4.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.09774, allocations: 4.062 kB / 0.5091 GB, free: 4.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.541e-05/0.09779, allocations: 11.84 kB / 0.5091 GB, free: 4.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.0978, allocations: 0 / 0.5091 GB, free: 4.055 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 7.381e-05/0.09788, allocations: 129.6 kB / 0.5092 GB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.09791, allocations: 7.969 kB / 0.5092 GB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.09794, allocations: 16.25 kB / 0.5093 GB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.09795, allocations: 0 / 0.5093 GB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.09796, allocations: 3.984 kB / 0.5093 GB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.09797, allocations: 0 / 0.5093 GB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.09815, allocations: 197.6 kB / 0.5095 GB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.09815, allocations: 0 / 0.5095 GB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.503e-05/0.09822, allocations: 12.17 kB / 0.5095 GB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.09823, allocations: 4 kB / 0.5095 GB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.09824, allocations: 0 / 0.5095 GB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.09825, allocations: 3.938 kB / 0.5095 GB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.09826, allocations: 3.984 kB / 0.5095 GB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.09841, allocations: 163.4 kB / 0.5096 GB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.09846, allocations: 93.09 kB / 0.5097 GB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.646e-05/0.09849, allocations: 0 / 0.5097 GB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.59e-05/0.09858, allocations: 8 kB / 0.5097 GB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.0986, allocations: 3.938 kB / 0.5097 GB, free: 3.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.09861, allocations: 0 / 0.5097 GB, free: 3.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.524e-05/0.09868, allocations: 109 kB / 0.5098 GB, free: 3.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09869, allocations: 4 kB / 0.5098 GB, free: 3.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.09893, allocations: 27.84 kB / 0.5099 GB, free: 3.184 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 9.488e-05/0.09903, allocations: 95.25 kB / 0.51 GB, free: 3.082 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001071/0.09914, allocations: 35.92 kB / 0.51 GB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.09915, allocations: 0 / 0.51 GB, free: 3.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.959e-05/0.09917, allocations: 12 kB / 0.51 GB, free: 3.035 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.09943, allocations: 11.94 kB / 0.51 GB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.09998, allocations: 316.9 kB / 0.5103 GB, free: 2.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.1002, allocations: 0.6963 MB / 0.511 GB, free: 1.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1003, allocations: 15.44 kB / 0.511 GB, free: 1.941 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1003, allocations: 0 / 0.511 GB, free: 1.941 MB / 350.1 MB Notification: Performance of Templates: time 0.002649/0.1029, allocations: 1.11 MB / 0.5121 GB, free: 0.832 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)