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.001058/0.001059, allocations: 178.9 kB / 16.38 MB, free: 5.766 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.094/1.094, allocations: 194.5 MB / 211.6 MB, free: 3.043 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.001561/0.001561, allocations: 106.4 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002874/0.0002874, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07344/0.07374, allocations: 44.49 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/0.2865, allocations: 72.72 MB / 427.8 MB, free: 16.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.2868, allocations: 77.8 kB / 427.8 MB, free: 16.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006274/0.2931, allocations: 2.586 MB / 430.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2931, allocations: 0 / 430.4 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.2931, allocations: 4 kB / 430.4 MB, free: 14.61 MB / 314.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.0004186/0.2935, allocations: 438.5 kB / 430.9 MB, free: 14.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.2936, allocations: 8.031 kB / 430.9 MB, free: 14.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.234e-05/0.2936, allocations: 16.84 kB / 430.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.2937, allocations: 198.5 kB / 431.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.2937, allocations: 7.938 kB / 431.1 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.2938, allocations: 12.19 kB / 431.1 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002006/0.294, allocations: 139.2 kB / 431.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.294, allocations: 0 / 431.2 MB, free: 13.77 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.294, allocations: 10 kB / 431.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.294, allocations: 1.125 kB / 431.3 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.2942, allocations: 70.34 kB / 431.3 MB, free: 13.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/0.2949, allocations: 0.5116 MB / 431.8 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.2951, allocations: 83.98 kB / 431.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.2951, allocations: 3.938 kB / 431.9 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.2951, allocations: 38.11 kB / 432 MB, free: 13.1 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2951, allocations: 0 / 432 MB, free: 13.1 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006211/0.2958, allocations: 257.9 kB / 432.2 MB, free: 12.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/0.2958, allocations: 102.8 kB / 432.3 MB, free: 12.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.328e-05/0.2959, allocations: 142.6 kB / 432.4 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2959, allocations: 36.95 kB / 432.5 MB, free: 12.55 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.296, allocations: 115.1 kB / 432.6 MB, free: 12.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.296, allocations: 36.92 kB / 432.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.296, allocations: 0 / 432.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.978e-05/0.296, allocations: 324.6 kB / 432.9 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.2961, allocations: 34.11 kB / 433 MB, free: 12.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/0.2962, allocations: 69.7 kB / 433 MB, free: 12 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.2963, allocations: 35.59 kB / 433.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2963, allocations: 0 / 433.1 MB, free: 11.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001866/0.2965, allocations: 127.7 kB / 433.2 MB, free: 11.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.2965, allocations: 8.062 kB / 433.2 MB, free: 11.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.2965, allocations: 4 kB / 433.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.2965, allocations: 0 / 433.2 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009657/0.2975, allocations: 151.8 kB / 433.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008763/0.2984, allocations: 1.394 MB / 434.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.2985, allocations: 15.92 kB / 434.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.2986, allocations: 7.938 kB / 434.8 MB, free: 10.21 MB / 314.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 () * Number of clocked 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 8.825e-05/0.2987, allocations: 119.9 kB / 434.9 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.2987, allocations: 15.81 kB / 434.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.2991, allocations: 162.4 kB / 435.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.2991, allocations: 0 / 435.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-06/0.2991, allocations: 0 / 435.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2991, allocations: 3.953 kB / 435.1 MB, free: 9.938 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001686/0.2993, allocations: 223.1 kB / 435.3 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2993, allocations: 0 / 435.3 MB, free: 9.695 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.995e-05/0.2994, allocations: 19.92 kB / 435.3 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002856/0.2997, allocations: 56.44 kB / 435.4 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2997, allocations: 3.984 kB / 435.4 MB, free: 9.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008592/0.3005, allocations: 1.366 MB / 436.7 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3006, allocations: 4.031 kB / 436.7 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003988/0.301, allocations: 289.5 kB / 437 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.57e-05/0.301, allocations: 87.67 kB / 437.1 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.301, allocations: 0 / 437.1 MB, free: 7.824 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.3012, allocations: 24.44 kB / 437.1 MB, free: 7.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.266e-05/0.3012, allocations: 7.984 kB / 437.1 MB, free: 7.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.3012, allocations: 0 / 437.1 MB, free: 7.797 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.954e-05/0.3013, allocations: 120.9 kB / 437.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3013, allocations: 448 / 437.3 MB, free: 7.691 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002618/0.3016, allocations: 39.84 kB / 437.3 MB, free: 7.652 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (SaturatingInductance1.Psi,Inductance1.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 (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.0001116/0.3017, allocations: 106.9 kB / 437.4 MB, free: 7.543 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007128/0.3024, allocations: 149.8 kB / 437.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3024, allocations: 0 / 437.6 MB, free: 7.414 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002295/0.3026, allocations: 165 kB / 437.7 MB, free: 7.254 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.3028, allocations: 10.75 kB / 437.7 MB, free: 7.25 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.3034, allocations: 475.9 kB / 438.2 MB, free: 6.793 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.3036, allocations: 0.716 MB / 438.9 MB, free: 6.051 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.923e-05/0.3036, allocations: 14.61 kB / 438.9 MB, free: 6.039 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.3037, allocations: 11.44 kB / 438.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3037, allocations: 0 / 438.9 MB, free: 6.031 MB / 314.7 MB Notification: Performance of Templates: time 0.003261/0.3069, allocations: 1.443 MB / 440.4 MB, free: 4.629 MB / 314.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)