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.001049/0.001056, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.672/1.672, allocations: 223.2 MB / 238.9 MB, free: 5.648 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.00148/0.00148, allocations: 189 kB / 290.2 MB, free: 2.336 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03236/0.03236, allocations: 8.793 MB / 350.1 MB, free: 4.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 14.56 kB / 413.1 MB, free: 43.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09215/0.09254, allocations: 52.55 MB / 465.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical5): time 0.002026/0.09462, allocations: 1.432 MB / 467.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007051/0.09535, allocations: 447.3 kB / 467.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.09544, allocations: 0 / 467.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.666e-05/0.09549, allocations: 11.91 kB / 467.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.09562, allocations: 35.86 kB / 467.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001129/0.09575, allocations: 19.98 kB / 467.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.09593, allocations: 83.81 kB / 467.7 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.09607, allocations: 41.19 kB / 467.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.274e-05/0.09613, allocations: 35.86 kB / 467.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.8e-05/0.09622, allocations: 43.84 kB / 467.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.09625, allocations: 4 kB / 467.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.256e-05/0.09627, allocations: 8 kB / 467.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.622e-05/0.09631, allocations: 19.91 kB / 467.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.061e-05/0.09635, allocations: 45.64 kB / 467.9 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.09647, allocations: 92.03 kB / 467.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.09648, allocations: 0 / 467.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09649, allocations: 0 / 467.9 MB, free: 11.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.0965, allocations: 0 / 467.9 MB, free: 11.32 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.0004811/0.09698, allocations: 391 kB / 468.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.09703, allocations: 8.031 kB / 468.3 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.732e-05/0.09709, allocations: 23.7 kB / 468.4 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.09729, allocations: 190.9 kB / 468.5 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.09732, allocations: 15.94 kB / 468.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.09736, allocations: 8 kB / 468.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.09758, allocations: 106.5 kB / 468.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.0976, allocations: 0 / 468.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.09762, allocations: 7.984 kB / 468.7 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.09764, allocations: 7.953 kB / 468.7 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.09776, allocations: 55.98 kB / 468.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008674/0.09863, allocations: 0.4903 MB / 469.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.09876, allocations: 54.5 kB / 469.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.09878, allocations: 0 / 469.3 MB, free: 9.812 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.09882, allocations: 34.56 kB / 469.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.09882, allocations: 0 / 469.3 MB, free: 9.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002185/0.09905, allocations: 73.8 kB / 469.4 MB, free: 9.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.0991, allocations: 51.41 kB / 469.4 MB, free: 9.629 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.09924, allocations: 142 kB / 469.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.09928, allocations: 29.7 kB / 469.6 MB, free: 9.445 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.09936, allocations: 120 kB / 469.7 MB, free: 9.324 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/0.09939, allocations: 19.75 kB / 469.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.0994, allocations: 0 / 469.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.09954, allocations: 318.8 kB / 470.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.922e-05/0.09959, allocations: 12 kB / 470.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.622e-05/0.09964, allocations: 30.56 kB / 470.1 MB, free: 8.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.09968, allocations: 20 kB / 470.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.09969, allocations: 0 / 470.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001359/0.09983, allocations: 85.53 kB / 470.2 MB, free: 8.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.09986, allocations: 6.188 kB / 470.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.09987, allocations: 0 / 470.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.09989, allocations: 4 kB / 470.2 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1, allocations: 19.98 kB / 470.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.1, allocations: 7.891 kB / 470.2 MB, free: 8.789 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1001, allocations: 4 kB / 470.2 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1001, allocations: 0 / 470.2 MB, free: 8.785 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.823e-05/0.1002, allocations: 117.9 kB / 470.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1002, allocations: 7.906 kB / 470.4 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.1003, allocations: 20.17 kB / 470.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1003, allocations: 0 / 470.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1003, allocations: 0 / 470.4 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1003, allocations: 3.953 kB / 470.4 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.1005, allocations: 189.6 kB / 470.6 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1005, allocations: 0 / 470.6 MB, free: 8.391 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.029e-05/0.1006, allocations: 11.98 kB / 470.6 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1006, allocations: 4 kB / 470.6 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1006, allocations: 7.938 kB / 470.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1006, allocations: 0 / 470.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1007, allocations: 0 / 470.6 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.1009, allocations: 167.3 kB / 470.8 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.1009, allocations: 85 kB / 470.8 MB, free: 8.086 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1009, allocations: 4.031 kB / 470.9 MB, free: 8.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.346e-05/0.101, allocations: 8.062 kB / 470.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.1011, allocations: 4 kB / 470.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.1011, allocations: 0 / 470.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.1012, allocations: 107.2 kB / 471 MB, free: 7.965 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1012, allocations: 0 / 471 MB, free: 7.965 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1014, allocations: 31.84 kB / 471 MB, free: 7.934 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.1016, allocations: 95.73 kB / 471.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.1017, allocations: 35.92 kB / 471.1 MB, free: 7.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1017, allocations: 4.125 kB / 471.1 MB, free: 7.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.886e-05/0.1017, allocations: 8 kB / 471.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.102, allocations: 12 kB / 471.1 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005699/0.1026, allocations: 351.4 kB / 471.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.1029, allocations: 0.7043 MB / 472.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.516e-05/0.1029, allocations: 4.656 kB / 472.2 MB, free: 6.672 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.1029, allocations: 11.44 kB / 472.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1029, allocations: 0 / 472.2 MB, free: 6.66 MB / 302.1 MB Notification: Performance of Templates: time 0.002591/0.1055, allocations: 0.6459 MB / 472.9 MB, free: 6.023 MB / 302.1 MB make -j1 -f HanserModelica_HanserModelica.FirstSteps.Electrical5.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: