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.0009129/0.0009129, allocations: 92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 223.3 MB / 240 MB, free: 5.473 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.000938/0.0009379, allocations: 168.6 kB / 291.3 MB, free: 2.152 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03537/0.03537, allocations: 8.814 MB / 351.2 MB, free: 4.582 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003356/0.0003356, allocations: 12.08 kB / 414.5 MB, free: 42.74 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06383/0.06418, allocations: 52.57 MB / 467 MB, free: 13.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.001621/0.06582, allocations: 1.527 MB / 468.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006061/0.06644, allocations: 443 kB / 469 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.06652, allocations: 4 kB / 469 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.9e-05/0.06661, allocations: 15.91 kB / 469 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.453e-05/0.06668, allocations: 27.77 kB / 469 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000111/0.0668, allocations: 19.98 kB / 469.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.06695, allocations: 115.5 kB / 469.2 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.06708, allocations: 41.19 kB / 469.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.746e-05/0.06714, allocations: 43.78 kB / 469.3 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.06722, allocations: 47.78 kB / 469.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.06725, allocations: 4 kB / 469.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.939e-05/0.06727, allocations: 8 kB / 469.3 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.385e-05/0.0673, allocations: 19.92 kB / 469.3 MB, free: 10.79 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.098e-05/0.06737, allocations: 73.44 kB / 469.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.536e-05/0.06747, allocations: 91.91 kB / 469.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.06748, allocations: 0 / 469.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.06749, allocations: 4 kB / 469.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.0675, allocations: 0 / 469.5 MB, free: 10.62 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.0004075/0.06791, allocations: 395.2 kB / 469.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.078e-05/0.06795, allocations: 8.031 kB / 469.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.06799, allocations: 20.73 kB / 469.9 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.06816, allocations: 192.2 kB / 470.1 MB, free: 9.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.06819, allocations: 12.31 kB / 470.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.06822, allocations: 8.375 kB / 470.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.0684, allocations: 106.8 kB / 470.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.06842, allocations: 7.938 kB / 470.2 MB, free: 9.793 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.06844, allocations: 8 kB / 470.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.06845, allocations: 0 / 470.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.06856, allocations: 55.97 kB / 470.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.06925, allocations: 0.5021 MB / 470.8 MB, free: 9.164 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.06935, allocations: 46.56 kB / 470.8 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.06939, allocations: 16.86 kB / 470.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/0.0694, allocations: 0 / 470.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.06943, allocations: 38.64 kB / 470.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.06943, allocations: 0 / 470.9 MB, free: 9.043 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001546/0.06959, allocations: 69.53 kB / 471 MB, free: 8.969 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.06963, allocations: 51.41 kB / 471 MB, free: 8.906 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.06975, allocations: 139.7 kB / 471.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.06977, allocations: 25.7 kB / 471.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.06983, allocations: 116 kB / 471.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.06985, allocations: 19.73 kB / 471.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.06988, allocations: 17.72 kB / 471.3 MB, free: 8.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.507e-05/0.06997, allocations: 322.8 kB / 471.6 MB, free: 8.246 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.632e-05/0.07, allocations: 11.98 kB / 471.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.776e-05/0.07004, allocations: 34.58 kB / 471.7 MB, free: 8.191 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.351e-05/0.07011, allocations: 50.5 kB / 471.7 MB, free: 8.133 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.07012, allocations: 4 kB / 471.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001143/0.07024, allocations: 77.53 kB / 471.8 MB, free: 8.047 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.07026, allocations: 4 kB / 471.8 MB, free: 8.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.07027, allocations: 4 kB / 471.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.07029, allocations: 192 / 471.8 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.07038, allocations: 12 kB / 471.8 MB, free: 8.027 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.439e-06/0.07039, allocations: 3.938 kB / 471.8 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.591e-05/0.07045, allocations: 11.89 kB / 471.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.183e-06/0.07046, allocations: 7.984 kB / 471.9 MB, free: 8.004 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.784e-05/0.07054, allocations: 141.7 kB / 472 MB, free: 7.855 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.07058, allocations: 7.906 kB / 472 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.254e-05/0.07061, allocations: 8.25 kB / 472 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.07061, allocations: 0 / 472 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.07062, allocations: 4 kB / 472 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.07063, allocations: 0 / 472 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.07081, allocations: 193.5 kB / 472.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.07082, allocations: 4 kB / 472.2 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.604e-05/0.07089, allocations: 12.06 kB / 472.2 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.0709, allocations: 4 kB / 472.2 MB, free: 7.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.07091, allocations: 4 kB / 472.2 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.07092, allocations: 3.984 kB / 472.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.07093, allocations: 0 / 472.2 MB, free: 7.566 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001448/0.07108, allocations: 167.3 kB / 472.4 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.07112, allocations: 88.98 kB / 472.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.54e-05/0.07114, allocations: 0 / 472.5 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.07124, allocations: 12.05 kB / 472.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.07126, allocations: 0 / 472.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.07127, allocations: 4 kB / 472.5 MB, free: 7.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.483e-05/0.07134, allocations: 109 kB / 472.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.07135, allocations: 0 / 472.6 MB, free: 7.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.07159, allocations: 16 kB / 472.6 MB, free: 7.145 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 6.249e-05/0.07166, allocations: 91.25 kB / 472.7 MB, free: 7.047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.891e-05/0.07176, allocations: 39.92 kB / 472.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.07177, allocations: 4.125 kB / 472.8 MB, free: 7.004 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.157e-05/0.0718, allocations: 15.98 kB / 472.8 MB, free: 6.988 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.07207, allocations: 15.88 kB / 472.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004843/0.07257, allocations: 373.3 kB / 473.1 MB, free: 6.578 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.07278, allocations: 0.7043 MB / 473.9 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.07281, allocations: 11.44 kB / 473.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of SimCode: time 1.734e-06/0.07282, allocations: 0 / 473.9 MB, free: 5.836 MB / 302.1 MB Notification: Performance of Templates: time 0.002244/0.07507, allocations: 1.094 MB / 475 MB, free: 4.742 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)