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.001199/0.001199, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.428/1.428, allocations: 222.9 MB / 239 MB, free: 4.711 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.001769/0.001769, allocations: 196.4 kB / 289.3 MB, free: 2.445 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03319/0.03319, allocations: 8.786 MB / 348.2 MB, free: 4.832 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 80.69 kB / 410.6 MB, free: 42.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09159, allocations: 51.56 MB / 462.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.FirstSteps.Electrical4): time 0.003045/0.09469, allocations: 1.866 MB / 464 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007101/0.09542, allocations: 462.9 kB / 464.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.09551, allocations: 3.938 kB / 464.5 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.09563, allocations: 11.92 kB / 464.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.728e-05/0.09571, allocations: 27.78 kB / 464.5 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001401/0.09586, allocations: 19.97 kB / 464.5 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.09602, allocations: 123.5 kB / 464.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.09616, allocations: 48.95 kB / 464.7 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.09621, allocations: 43.8 kB / 464.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.0963, allocations: 51.78 kB / 464.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.09632, allocations: 12 kB / 464.8 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.942e-05/0.09635, allocations: 8 kB / 464.8 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.581e-05/0.09638, allocations: 23.92 kB / 464.8 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.36e-05/0.09645, allocations: 63.72 kB / 464.9 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.09658, allocations: 111.9 kB / 465 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.09659, allocations: 3.938 kB / 465 MB, free: 11.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.0966, allocations: 3.984 kB / 465 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.09661, allocations: 0 / 465 MB, free: 11.85 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.0004928/0.09711, allocations: 407.1 kB / 465.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.09715, allocations: 12.03 kB / 465.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.09719, allocations: 8.844 kB / 465.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.09738, allocations: 196.2 kB / 465.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/0.0974, allocations: 12.38 kB / 465.6 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.09743, allocations: 16.3 kB / 465.6 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.09761, allocations: 102.8 kB / 465.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.09763, allocations: 0 / 465.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.09765, allocations: 8 kB / 465.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.09766, allocations: 3.938 kB / 465.8 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.09777, allocations: 55.98 kB / 465.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007124/0.09849, allocations: 0.502 MB / 466.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.733e-05/0.09859, allocations: 42.58 kB / 466.3 MB, free: 10.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.231e-05/0.09863, allocations: 20.94 kB / 466.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.09865, allocations: 4 kB / 466.4 MB, free: 10.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.09867, allocations: 30.56 kB / 466.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.09868, allocations: 3.938 kB / 466.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.00017/0.09885, allocations: 65.62 kB / 466.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.0989, allocations: 51.41 kB / 466.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.09902, allocations: 151.4 kB / 466.7 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.09903, allocations: 25.7 kB / 466.7 MB, free: 9.949 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.086e-05/0.09911, allocations: 124 kB / 466.8 MB, free: 9.82 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.192e-05/0.09913, allocations: 11.81 kB / 466.8 MB, free: 9.809 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.09917, allocations: 21.72 kB / 466.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.09927, allocations: 326.8 kB / 467.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.302e-05/0.09931, allocations: 12 kB / 467.2 MB, free: 9.441 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.878e-05/0.09936, allocations: 34.56 kB / 467.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.35e-05/0.09943, allocations: 50.52 kB / 467.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.09943, allocations: 0 / 467.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001061/0.09954, allocations: 81.53 kB / 467.3 MB, free: 9.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.09956, allocations: 8 kB / 467.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.09957, allocations: 0 / 467.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.09959, allocations: 0 / 467.3 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.09968, allocations: 20.05 kB / 467.4 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.0997, allocations: 4 kB / 467.4 MB, free: 9.223 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.09975, allocations: 7.938 kB / 467.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-06/0.09976, allocations: 4 kB / 467.4 MB, free: 9.211 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.214e-05/0.09984, allocations: 129.6 kB / 467.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.643e-05/0.09987, allocations: 7.906 kB / 467.5 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.397e-05/0.0999, allocations: 16.42 kB / 467.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.09991, allocations: 3.984 kB / 467.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.09991, allocations: 0 / 467.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.09992, allocations: 4 kB / 467.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1001, allocations: 193.6 kB / 467.7 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1001, allocations: 3.984 kB / 467.7 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.1002, allocations: 11.94 kB / 467.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1002, allocations: 0 / 467.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1002, allocations: 0 / 467.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1002, allocations: 0 / 467.7 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1002, allocations: 4 kB / 467.8 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1004, allocations: 171.3 kB / 467.9 MB, free: 8.598 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.062e-05/0.1004, allocations: 85 kB / 468 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.1004, allocations: 0 / 468 MB, free: 8.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.357e-05/0.1005, allocations: 4.031 kB / 468 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.1005, allocations: 0 / 468 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.666e-06/0.1005, allocations: 4 kB / 468 MB, free: 8.488 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.387e-05/0.1006, allocations: 113.3 kB / 468.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1006, allocations: 0 / 468.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.1009, allocations: 27.78 kB / 468.1 MB, free: 8.352 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.534e-05/0.101, allocations: 103.3 kB / 468.2 MB, free: 8.242 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 9.496e-05/0.1011, allocations: 39.92 kB / 468.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1011, allocations: 0 / 468.3 MB, free: 8.203 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.681e-05/0.1011, allocations: 8 kB / 468.3 MB, free: 8.195 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002842/0.1014, allocations: 20.11 kB / 468.3 MB, free: 8.176 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.1018, allocations: 319.2 kB / 468.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002161/0.1021, allocations: 0.6963 MB / 469.3 MB, free: 7.117 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.1021, allocations: 4.672 kB / 469.3 MB, free: 7.113 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.1021, allocations: 11.44 kB / 469.3 MB, free: 7.102 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1021, allocations: 4 kB / 469.3 MB, free: 7.098 MB / 302.1 MB Notification: Performance of Templates: time 0.002398/0.1045, allocations: 0.6958 MB / 470 MB, free: 6.414 MB / 302.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)