Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001278/0.001278, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.412/1.412, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001631/0.001631, allocations: 124.7 kB / 253.5 MB, free: 9.566 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.346e-05/2.349e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08412, allocations: 44.49 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4289, allocations: 72.64 MB / 422.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.4292, allocations: 66.58 kB / 422.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007103/0.4363, allocations: 2.582 MB / 424.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4364, allocations: 0 / 424.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.4364, allocations: 3.906 kB / 424.7 MB, free: 10.59 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.000487/0.4369, allocations: 415.2 kB / 425.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/0.4369, allocations: 15.5 kB / 425.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.437, allocations: 11.59 kB / 425.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.4372, allocations: 207.9 kB / 425.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4372, allocations: 7.406 kB / 425.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.4372, allocations: 10.91 kB / 425.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.4375, allocations: 128 kB / 425.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4375, allocations: 0 / 425.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.226e-05/0.4375, allocations: 3.812 kB / 425.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.4375, allocations: 5.078 kB / 425.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.4376, allocations: 57.86 kB / 425.6 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008349/0.4385, allocations: 0.5114 MB / 426.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.4387, allocations: 72.88 kB / 426.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4388, allocations: 56.47 kB / 426.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.4389, allocations: 3.719 kB / 426.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.652e-05/0.4389, allocations: 30.56 kB / 426.2 MB, free: 9.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/0.4389, allocations: 0 / 426.2 MB, free: 9.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.000378/0.4393, allocations: 122.9 kB / 426.4 MB, free: 9.414 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.4393, allocations: 104.6 kB / 426.5 MB, free: 9.289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.4394, allocations: 148 kB / 426.6 MB, free: 9.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.4395, allocations: 25.7 kB / 426.6 MB, free: 9.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.4395, allocations: 120.8 kB / 426.7 MB, free: 9.055 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.4396, allocations: 27.27 kB / 426.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.4396, allocations: 3.688 kB / 426.8 MB, free: 9.035 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.786e-05/0.4396, allocations: 325.2 kB / 427.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.414e-05/0.4397, allocations: 21.88 kB / 427.1 MB, free: 8.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.119e-05/0.4398, allocations: 72.89 kB / 427.2 MB, free: 8.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.015e-05/0.4398, allocations: 28.88 kB / 427.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.4398, allocations: 4.281 kB / 427.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001548/0.44, allocations: 104.1 kB / 427.3 MB, free: 8.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.44, allocations: 11.8 kB / 427.3 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.44, allocations: 4.172 kB / 427.3 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4401, allocations: 7.812 kB / 427.3 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009451/0.441, allocations: 150.4 kB / 427.5 MB, free: 8.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009515/0.442, allocations: 1.386 MB / 428.9 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.4421, allocations: 27.83 kB / 428.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.4421, allocations: 3.688 kB / 428.9 MB, free: 7.133 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.4422, allocations: 116.6 kB / 429 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.4422, allocations: 11.75 kB / 429 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.4425, allocations: 133.8 kB / 429.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4426, allocations: 0 / 429.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.4426, allocations: 0 / 429.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4426, allocations: 3.953 kB / 429.2 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005163/0.4431, allocations: 445.1 kB / 429.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4431, allocations: 0 / 429.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.445e-05/0.4432, allocations: 23.42 kB / 429.6 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002895/0.4435, allocations: 49.69 kB / 429.7 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.4435, allocations: 3.906 kB / 429.7 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009029/0.4444, allocations: 1.367 MB / 431 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4445, allocations: 3.969 kB / 431.1 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.4448, allocations: 269.7 kB / 431.3 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.158e-05/0.4449, allocations: 92.81 kB / 431.4 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.4449, allocations: 3.375 kB / 431.4 MB, free: 4.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.4451, allocations: 19.45 kB / 431.4 MB, free: 4.906 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.4451, allocations: 7.734 kB / 431.4 MB, free: 4.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.4451, allocations: 0 / 431.4 MB, free: 4.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.473e-05/0.4452, allocations: 119.7 kB / 431.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4452, allocations: 0 / 431.6 MB, free: 4.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002758/0.4455, allocations: 36.84 kB / 431.6 MB, free: 4.82 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001458/0.4457, allocations: 106 kB / 431.7 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006419/0.4463, allocations: 127.4 kB / 431.8 MB, free: 4.703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4463, allocations: 7.781 kB / 431.8 MB, free: 4.703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002265/0.4466, allocations: 153.1 kB / 432 MB, free: 4.582 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.4467, allocations: 11.66 kB / 432 MB, free: 4.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004879/0.4472, allocations: 295.2 kB / 432.3 MB, free: 4.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001772/0.4474, allocations: 0.719 MB / 433 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.532e-05/0.4475, allocations: 12.08 kB / 433 MB, free: 3.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.4475, allocations: 11.31 kB / 433 MB, free: 3.617 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4475, allocations: 0 / 433 MB, free: 3.617 MB / 298.7 MB Notification: Performance of Templates: time 0.003796/0.4513, allocations: 1.45 MB / 434.5 MB, free: 2.895 MB / 298.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)