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/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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.04022/0.04022, allocations: 8.704 MB / 21.96 MB, free: 3.734 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 221.4 MB / 246 MB, free: 3.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009147/0.0009149, allocations: 95.09 kB / 299.1 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.105e-05, allocations: 0 / 359.5 MB, free: 6.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2649, allocations: 52.54 MB / 412.1 MB, free: 22.55 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.4088, allocations: 78.64 MB / 490.7 MB, free: 7.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002108/0.4091, allocations: 63.97 kB / 490.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005351/0.4144, allocations: 2.059 MB / 492.8 MB, free: 5.691 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4145, allocations: 192 / 492.8 MB, free: 5.691 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.4145, allocations: 4 kB / 492.8 MB, free: 5.688 MB / 362.7 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.0003963/0.4149, allocations: 386.1 kB / 493.2 MB, free: 5.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4149, allocations: 8.031 kB / 493.2 MB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.415, allocations: 19.81 kB / 493.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.4152, allocations: 183 kB / 493.4 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.4152, allocations: 8 kB / 493.4 MB, free: 5.012 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.4153, allocations: 19.92 kB / 493.4 MB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.4155, allocations: 98.78 kB / 493.5 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.4155, allocations: 3.938 kB / 493.5 MB, free: 4.887 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.4155, allocations: 4 kB / 493.5 MB, free: 4.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.4155, allocations: 7.953 kB / 493.5 MB, free: 4.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.4157, allocations: 55.98 kB / 493.6 MB, free: 4.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007524/0.4164, allocations: 0.4981 MB / 494.1 MB, free: 4.258 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.949e-05/0.4165, allocations: 46.58 kB / 494.1 MB, free: 4.203 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.4166, allocations: 20.94 kB / 494.2 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.4166, allocations: 4 kB / 494.2 MB, free: 4.176 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.4166, allocations: 30.56 kB / 494.2 MB, free: 4.137 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.344e-06/0.4166, allocations: 0 / 494.2 MB, free: 4.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001479/0.4168, allocations: 65.55 kB / 494.3 MB, free: 4.066 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/0.4168, allocations: 55.41 kB / 494.3 MB, free: 4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.417, allocations: 131 kB / 494.4 MB, free: 3.863 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.417, allocations: 29.7 kB / 494.5 MB, free: 3.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.4171, allocations: 123.9 kB / 494.6 MB, free: 3.699 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.093e-05/0.4171, allocations: 11.81 kB / 494.6 MB, free: 3.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.4171, allocations: 0 / 494.6 MB, free: 3.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.4172, allocations: 318.8 kB / 494.9 MB, free: 3.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.4173, allocations: 12 kB / 494.9 MB, free: 3.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.563e-05/0.4173, allocations: 39.27 kB / 495 MB, free: 3.309 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.525e-05/0.4174, allocations: 19.98 kB / 495 MB, free: 3.289 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4174, allocations: 0 / 495 MB, free: 3.289 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001345/0.4175, allocations: 77.53 kB / 495.1 MB, free: 3.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4175, allocations: 10.03 kB / 495.1 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4176, allocations: 0 / 495.1 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4176, allocations: 0 / 495.1 MB, free: 3.199 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4177, allocations: 23.95 kB / 495.1 MB, free: 3.176 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.919e-06/0.4177, allocations: 4 kB / 495.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.448e-05/0.4178, allocations: 3.938 kB / 495.1 MB, free: 3.168 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-06/0.4178, allocations: 4 kB / 495.1 MB, free: 3.164 MB / 362.7 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 () * 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 6.594e-05/0.4178, allocations: 109 kB / 495.2 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.4179, allocations: 7.906 kB / 495.2 MB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.085e-05/0.4179, allocations: 12.03 kB / 495.2 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.4179, allocations: 0 / 495.2 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4179, allocations: 3.953 kB / 495.2 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.4179, allocations: 4 kB / 495.2 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.4181, allocations: 189.6 kB / 495.4 MB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.4182, allocations: 0 / 495.4 MB, free: 2.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.4182, allocations: 12 kB / 495.4 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4182, allocations: 3.938 kB / 495.4 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4182, allocations: 4 kB / 495.4 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4183, allocations: 0 / 495.4 MB, free: 2.762 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4183, allocations: 3.938 kB / 495.5 MB, free: 2.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.4184, allocations: 167.4 kB / 495.6 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.4185, allocations: 89.05 kB / 495.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.4185, allocations: 0 / 495.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.244e-05/0.4186, allocations: 7.938 kB / 495.7 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.4186, allocations: 3.984 kB / 495.7 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.4187, allocations: 0 / 495.7 MB, free: 2.461 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.42e-05/0.4187, allocations: 107.3 kB / 495.8 MB, free: 2.355 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4187, allocations: 0 / 495.8 MB, free: 2.355 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.419, allocations: 31.8 kB / 495.8 MB, free: 2.324 MB / 362.7 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 () * 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.0001175/0.4191, allocations: 103.2 kB / 495.9 MB, free: 2.215 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.567e-05/0.4192, allocations: 28 kB / 496 MB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4192, allocations: 4 kB / 496 MB, free: 2.184 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.4192, allocations: 15.94 kB / 496 MB, free: 2.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.4194, allocations: 10.19 kB / 496 MB, free: 2.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003778/0.4198, allocations: 178.4 kB / 496.2 MB, free: 1.965 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.4201, allocations: 0.7043 MB / 496.9 MB, free: 1.234 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.739e-05/0.4201, allocations: 4.672 kB / 496.9 MB, free: 1.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.833e-05/0.4201, allocations: 11.44 kB / 496.9 MB, free: 1.219 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4202, allocations: 4 kB / 496.9 MB, free: 1.215 MB / 362.7 MB Notification: Performance of Templates: time 0.002653/0.4228, allocations: 0.6446 MB / 497.5 MB, free: 0.5742 MB / 362.7 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)