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.00139/0.00139, allocations: 188.5 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.383/1.383, allocations: 194.3 MB / 203.1 MB, free: 9.254 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001762/0.001762, allocations: 118.8 kB / 248.1 MB, free: 6.367 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.053e-05, allocations: 7.984 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 44.49 MB / 342.6 MB, free: 11.66 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4639, allocations: 71.96 MB / 414.5 MB, free: 23.87 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.4643, allocations: 68.16 kB / 414.6 MB, free: 23.83 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01088/0.4752, allocations: 2.562 MB / 417.2 MB, free: 21.72 MB / 315.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4752, allocations: 3.938 kB / 417.2 MB, free: 21.72 MB / 315.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.4752, allocations: 8 kB / 417.2 MB, free: 21.71 MB / 315.1 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.0006205/0.4759, allocations: 414 kB / 417.6 MB, free: 21.27 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4759, allocations: 8.031 kB / 417.6 MB, free: 21.27 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.556e-05/0.476, allocations: 13.62 kB / 417.6 MB, free: 21.25 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.4762, allocations: 206.2 kB / 417.8 MB, free: 21.02 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.4763, allocations: 0 / 417.8 MB, free: 21.02 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.4763, allocations: 12.84 kB / 417.8 MB, free: 21.01 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001772/0.4765, allocations: 51.14 kB / 417.9 MB, free: 20.98 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.4767, allocations: 120.2 kB / 418 MB, free: 20.87 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4768, allocations: 0 / 418 MB, free: 20.87 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.4768, allocations: 3.984 kB / 418 MB, free: 20.87 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.4768, allocations: 4 kB / 418 MB, free: 20.86 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/0.478, allocations: 477.9 kB / 418.5 MB, free: 20.42 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002966/0.4783, allocations: 78.77 kB / 418.5 MB, free: 20.35 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4785, allocations: 49.53 kB / 418.6 MB, free: 20.31 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.4785, allocations: 1.5 kB / 418.6 MB, free: 20.31 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.4786, allocations: 38.5 kB / 418.6 MB, free: 20.27 MB / 315.1 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.4786, allocations: 0 / 418.6 MB, free: 20.27 MB / 315.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005784/0.4792, allocations: 108 kB / 418.7 MB, free: 20.17 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.4792, allocations: 106.8 kB / 418.8 MB, free: 20.04 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.4794, allocations: 138.5 kB / 419 MB, free: 19.91 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.4794, allocations: 25.7 kB / 419 MB, free: 19.88 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.988e-05/0.4795, allocations: 121.3 kB / 419.1 MB, free: 19.77 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/0.4796, allocations: 26.77 kB / 419.1 MB, free: 19.75 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.689e-06/0.4796, allocations: 0 / 419.1 MB, free: 19.75 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 5.741e-05/0.4797, allocations: 317.4 kB / 419.4 MB, free: 19.43 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.4798, allocations: 28.03 kB / 419.5 MB, free: 19.42 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.4799, allocations: 62.47 kB / 419.5 MB, free: 19.35 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.778e-05/0.48, allocations: 28.8 kB / 419.6 MB, free: 19.33 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.48, allocations: 3.953 kB / 419.6 MB, free: 19.33 MB / 315.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002703/0.4803, allocations: 107.2 kB / 419.7 MB, free: 19.24 MB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4803, allocations: 9.781 kB / 419.7 MB, free: 19.23 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4803, allocations: 0 / 419.7 MB, free: 19.23 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.4804, allocations: 0 / 419.7 MB, free: 19.23 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.4819, allocations: 151.9 kB / 419.8 MB, free: 19.08 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.4833, allocations: 1.335 MB / 421.2 MB, free: 17.67 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000238/0.4835, allocations: 19.86 kB / 421.2 MB, free: 17.65 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.4836, allocations: 4.562 kB / 421.2 MB, free: 17.65 MB / 315.1 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 9.191e-05/0.4837, allocations: 112.7 kB / 421.3 MB, free: 17.53 MB / 315.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.4838, allocations: 11.86 kB / 421.3 MB, free: 17.52 MB / 315.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005116/0.4843, allocations: 138.2 kB / 421.4 MB, free: 17.4 MB / 315.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4843, allocations: 0 / 421.4 MB, free: 17.4 MB / 315.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.4843, allocations: 0 / 421.4 MB, free: 17.4 MB / 315.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.4844, allocations: 4 kB / 421.4 MB, free: 17.39 MB / 315.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007879/0.4852, allocations: 406.7 kB / 421.8 MB, free: 16.99 MB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.4852, allocations: 0 / 421.8 MB, free: 16.99 MB / 315.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.4854, allocations: 15.98 kB / 421.9 MB, free: 16.98 MB / 315.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004193/0.4858, allocations: 48.19 kB / 421.9 MB, free: 16.93 MB / 315.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4858, allocations: 3.625 kB / 421.9 MB, free: 16.93 MB / 315.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/0.4871, allocations: 1.311 MB / 423.2 MB, free: 15.55 MB / 315.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/0.4872, allocations: 8.047 kB / 423.2 MB, free: 15.55 MB / 315.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.4877, allocations: 264.8 kB / 423.5 MB, free: 15.3 MB / 315.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.307e-05/0.4878, allocations: 92.92 kB / 423.6 MB, free: 15.19 MB / 315.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.337e-05/0.4879, allocations: 4.062 kB / 423.6 MB, free: 15.18 MB / 315.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.4881, allocations: 11.98 kB / 423.6 MB, free: 15.17 MB / 315.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.4882, allocations: 11.36 kB / 423.6 MB, free: 15.16 MB / 315.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.4882, allocations: 4 kB / 423.6 MB, free: 15.16 MB / 315.1 MB Notification: Performance of sorting global known variables: time 9.289e-05/0.4883, allocations: 116.5 kB / 423.7 MB, free: 15.06 MB / 315.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4884, allocations: 0 / 423.7 MB, free: 15.06 MB / 315.1 MB Notification: Performance of remove unused functions: time 0.0005451/0.4889, allocations: 35.91 kB / 423.8 MB, free: 15.02 MB / 315.1 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.0001467/0.4891, allocations: 100 kB / 423.9 MB, free: 14.92 MB / 315.1 MB Notification: Performance of simCode: created initialization part: time 0.00105/0.4902, allocations: 130.6 kB / 424 MB, free: 14.81 MB / 315.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4902, allocations: 0 / 424 MB, free: 14.81 MB / 315.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003131/0.4905, allocations: 145.4 kB / 424.1 MB, free: 14.67 MB / 315.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.4908, allocations: 14.17 kB / 424.1 MB, free: 14.66 MB / 315.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/0.4916, allocations: 296 kB / 424.4 MB, free: 14.37 MB / 315.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.4918, allocations: 0.7158 MB / 425.1 MB, free: 13.63 MB / 315.1 MB Notification: Performance of simCode: alias equations: time 9.712e-05/0.4919, allocations: 12.55 kB / 425.2 MB, free: 13.62 MB / 315.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.4919, allocations: 15.44 kB / 425.2 MB, free: 13.6 MB / 315.1 MB Notification: Performance of SimCode: time 1.122e-06/0.4919, allocations: 0 / 425.2 MB, free: 13.6 MB / 315.1 MB Notification: Performance of Templates: time 0.005403/0.4973, allocations: 1.326 MB / 426.5 MB, free: 12.31 MB / 315.1 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)