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.001692/0.001692, allocations: 106.3 kB / 16.27 MB, free: 6.414 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.516/1.516, allocations: 222.9 MB / 239.9 MB, free: 4.684 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.001401/0.001401, allocations: 192.5 kB / 290.2 MB, free: 2.395 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03483/0.03483, allocations: 8.796 MB / 349.2 MB, free: 4.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 77.62 kB / 411.7 MB, free: 42.14 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08666/0.08838, allocations: 51.57 MB / 463.3 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.00307/0.0915, allocations: 1.804 MB / 465.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007328/0.09225, allocations: 462.8 kB / 465.6 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.634e-05/0.09235, allocations: 4 kB / 465.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.09248, allocations: 15.84 kB / 465.6 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.121e-05/0.09256, allocations: 31.7 kB / 465.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.0927, allocations: 27.91 kB / 465.7 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001606/0.09287, allocations: 123.5 kB / 465.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.09303, allocations: 44.95 kB / 465.8 MB, free: 11.92 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.776e-05/0.0931, allocations: 43.86 kB / 465.9 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.09319, allocations: 55.7 kB / 465.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.09322, allocations: 8 kB / 465.9 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.419e-05/0.09325, allocations: 12 kB / 465.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.89e-05/0.09329, allocations: 27.86 kB / 466 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.09335, allocations: 55.73 kB / 466 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.0935, allocations: 115.9 kB / 466.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.09351, allocations: 4 kB / 466.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.09352, allocations: 0 / 466.1 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.09353, allocations: 0 / 466.1 MB, free: 11.61 MB / 302.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.0005175/0.09405, allocations: 415.1 kB / 466.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.09409, allocations: 8.031 kB / 466.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.09415, allocations: 20.83 kB / 466.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.09435, allocations: 192.1 kB / 466.8 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.09437, allocations: 8.375 kB / 466.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.0944, allocations: 16.38 kB / 466.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.09459, allocations: 106.8 kB / 466.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.09461, allocations: 3.938 kB / 466.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.09462, allocations: 4 kB / 466.9 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.09463, allocations: 4 kB / 466.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001371/0.09478, allocations: 59.91 kB / 467 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006998/0.09549, allocations: 0.4981 MB / 467.4 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.697e-05/0.09559, allocations: 50.56 kB / 467.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.09562, allocations: 20.8 kB / 467.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.09564, allocations: 0 / 467.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.09567, allocations: 30.56 kB / 467.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 7.81e-07/0.09568, allocations: 0 / 467.5 MB, free: 10.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001834/0.09587, allocations: 61.78 kB / 467.6 MB, free: 9.945 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.09591, allocations: 55.39 kB / 467.7 MB, free: 9.879 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.09603, allocations: 152.2 kB / 467.8 MB, free: 9.723 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.09606, allocations: 25.7 kB / 467.8 MB, free: 9.691 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.78e-05/0.09613, allocations: 116 kB / 467.9 MB, free: 9.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.09616, allocations: 19.8 kB / 468 MB, free: 9.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.0962, allocations: 25.7 kB / 468 MB, free: 9.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.09631, allocations: 318.8 kB / 468.3 MB, free: 9.199 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.955e-05/0.09634, allocations: 19.92 kB / 468.3 MB, free: 9.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-05/0.09639, allocations: 34.56 kB / 468.4 MB, free: 9.137 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.273e-05/0.09646, allocations: 46.56 kB / 468.4 MB, free: 9.082 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.09647, allocations: 4 kB / 468.4 MB, free: 9.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001076/0.09658, allocations: 81.53 kB / 468.5 MB, free: 8.992 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.0966, allocations: 4 kB / 468.5 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.09661, allocations: 4 kB / 468.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.09663, allocations: 8 kB / 468.5 MB, free: 8.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.865e-05/0.09673, allocations: 15.94 kB / 468.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.09674, allocations: 0 / 468.5 MB, free: 8.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.09679, allocations: 7.938 kB / 468.5 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.0968, allocations: 0 / 468.5 MB, free: 8.953 MB / 302.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.908e-05/0.09688, allocations: 137.6 kB / 468.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.764e-05/0.09691, allocations: 7.906 kB / 468.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.694e-05/0.09694, allocations: 8.25 kB / 468.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.09695, allocations: 0 / 468.7 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.09696, allocations: 4 kB / 468.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.09697, allocations: 192 / 468.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.09716, allocations: 201.5 kB / 468.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.09716, allocations: 0 / 468.9 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.552e-05/0.09723, allocations: 23.98 kB / 468.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.09724, allocations: 0 / 468.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.09726, allocations: 0 / 468.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.09726, allocations: 0 / 468.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.09726, allocations: 0 / 468.9 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.09743, allocations: 171.4 kB / 469.1 MB, free: 8.332 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.09748, allocations: 85.05 kB / 469.2 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.09751, allocations: 4 kB / 469.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.09759, allocations: 4 kB / 469.2 MB, free: 8.223 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.492e-05/0.09761, allocations: 3.984 kB / 469.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.09762, allocations: 0 / 469.2 MB, free: 8.219 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.892e-05/0.09769, allocations: 109.1 kB / 469.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.0977, allocations: 0 / 469.3 MB, free: 8.113 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002318/0.09794, allocations: 27.84 kB / 469.3 MB, free: 8.086 MB / 302.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 7.336e-05/0.09802, allocations: 99.25 kB / 469.4 MB, free: 7.98 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.09813, allocations: 31.98 kB / 469.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.09814, allocations: 0 / 469.4 MB, free: 7.949 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.957e-05/0.09817, allocations: 19.92 kB / 469.4 MB, free: 7.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.09847, allocations: 15.94 kB / 469.5 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.09899, allocations: 301.3 kB / 469.8 MB, free: 7.59 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/0.09939, allocations: 0.6963 MB / 470.5 MB, free: 6.867 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.09942, allocations: 11.44 kB / 470.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09943, allocations: 0 / 470.5 MB, free: 6.855 MB / 302.1 MB Notification: Performance of Templates: time 0.002431/0.1019, allocations: 1.112 MB / 471.6 MB, free: 5.746 MB / 302.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)