Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") translateModel(Modelica.Electrical.Analog.Examples.ShowSaturatingInductor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1256,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.6659/0.6659, allocations: 110.9 MB / 125.9 MB, free: 6.191 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001733/0.001733, allocations: 143.4 kB / 151.8 MB, free: 4.973 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002288/0.000229, allocations: 12 kB / 184.9 MB, free: 3.902 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1276, allocations: 25.15 MB / 210 MB, free: 29.77 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04243/0.1701, allocations: 35.06 MB / 245.1 MB, free: 14.75 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.1704, allocations: 59.97 kB / 245.2 MB, free: 14.7 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006641/0.177, allocations: 2.162 MB / 247.3 MB, free: 12.55 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.1771, allocations: 0.8438 kB / 247.3 MB, free: 12.55 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.142e-05/0.1771, allocations: 8 kB / 247.3 MB, free: 12.54 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005879/0.1777, allocations: 426.5 kB / 247.8 MB, free: 12.08 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1777, allocations: 12.02 kB / 247.8 MB, free: 12.07 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.959e-05/0.1778, allocations: 15.81 kB / 247.8 MB, free: 12.05 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.178, allocations: 187 kB / 248 MB, free: 11.83 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.178, allocations: 8 kB / 248 MB, free: 11.82 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.178, allocations: 15.98 kB / 248 MB, free: 11.8 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/0.1783, allocations: 119.1 kB / 248.1 MB, free: 11.68 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1783, allocations: 4.594 kB / 248.1 MB, free: 11.67 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.1783, allocations: 5.375 kB / 248.1 MB, free: 11.67 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1783, allocations: 3.984 kB / 248.1 MB, free: 11.66 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.1785, allocations: 63.97 kB / 248.2 MB, free: 11.6 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009214/0.1794, allocations: 494.5 kB / 248.7 MB, free: 11.05 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.1796, allocations: 50.55 kB / 248.7 MB, free: 11 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.1796, allocations: 0.6562 kB / 248.7 MB, free: 11 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1796, allocations: 36.91 kB / 248.7 MB, free: 10.95 MB / 186.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.1796, allocations: 0 / 248.7 MB, free: 10.95 MB / 186.7 MB Notification: Performance of matching and sorting (n=4): time 0.0007519/0.1804, allocations: 227.5 kB / 249 MB, free: 10.7 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.903e-05/0.1805, allocations: 106.8 kB / 249.1 MB, free: 10.57 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1806, allocations: 141.4 kB / 249.2 MB, free: 10.43 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1806, allocations: 30.14 kB / 249.2 MB, free: 10.39 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.1807, allocations: 119.8 kB / 249.4 MB, free: 10.27 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.072e-05/0.1807, allocations: 19.81 kB / 249.4 MB, free: 10.25 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.1808, allocations: 0 / 249.4 MB, free: 10.25 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.1809, allocations: 330.7 kB / 249.7 MB, free: 9.922 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.1809, allocations: 20 kB / 249.7 MB, free: 9.902 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.917e-05/0.1811, allocations: 69.06 kB / 249.8 MB, free: 9.816 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.343e-05/0.1811, allocations: 28.09 kB / 249.8 MB, free: 9.789 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1812, allocations: 0 / 249.8 MB, free: 9.789 MB / 186.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003901/0.1815, allocations: 154.3 kB / 250 MB, free: 9.629 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.1816, allocations: 8 kB / 250 MB, free: 9.621 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.1816, allocations: 3.984 kB / 250 MB, free: 9.617 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003071/0.1819, allocations: 44.91 kB / 250 MB, free: 9.57 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009512/0.1829, allocations: 127.9 kB / 250.1 MB, free: 9.445 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002484/0.1854, allocations: 2.789 MB / 252.9 MB, free: 6.398 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.1855, allocations: 19.92 kB / 253 MB, free: 6.379 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.1856, allocations: 4 kB / 253 MB, free: 6.375 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: SaturatingInductance1.Psi:VARIABLE(unit = "Wb" fixed = true ) type: Real 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * 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): 2 * 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: 2 {2,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.1857, allocations: 123.6 kB / 253.1 MB, free: 6.246 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.395e-05/0.1858, allocations: 13.69 kB / 253.1 MB, free: 6.234 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003551/0.1862, allocations: 134.9 kB / 253.2 MB, free: 6.09 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1862, allocations: 0 / 253.2 MB, free: 6.09 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.21e-07/0.1862, allocations: 0 / 253.2 MB, free: 6.09 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1862, allocations: 0 / 253.2 MB, free: 6.09 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1864, allocations: 205.5 kB / 253.4 MB, free: 5.84 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1864, allocations: 3.234 kB / 253.4 MB, free: 5.84 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.333e-05/0.1865, allocations: 23.97 kB / 253.5 MB, free: 5.816 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002703/0.1868, allocations: 44.81 kB / 253.5 MB, free: 5.77 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.1868, allocations: 11.94 kB / 253.5 MB, free: 5.758 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.188, allocations: 1.352 MB / 254.9 MB, free: 4.27 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.188, allocations: 0 / 254.9 MB, free: 4.27 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.1885, allocations: 252.2 kB / 255.1 MB, free: 4.004 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.1885, allocations: 93.03 kB / 255.2 MB, free: 3.895 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.1886, allocations: 0 / 255.2 MB, free: 3.895 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1887, allocations: 20.05 kB / 255.2 MB, free: 3.875 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.1888, allocations: 3.984 kB / 255.2 MB, free: 3.871 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.1888, allocations: 5.875 kB / 255.2 MB, free: 3.867 MB / 186.7 MB Notification: Performance of sorting global known variables: time 7.816e-05/0.1889, allocations: 120.1 kB / 255.3 MB, free: 3.75 MB / 186.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1889, allocations: 3.281 kB / 255.3 MB, free: 3.75 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002827/0.1892, allocations: 43.84 kB / 255.4 MB, free: 3.707 MB / 186.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (SaturatingInductance1.Psi) * 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 (3): * Single equations (assignments): 2 * 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.0001339/0.1893, allocations: 107.2 kB / 255.5 MB, free: 3.59 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009902/0.1903, allocations: 264.8 kB / 255.8 MB, free: 3.316 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1903, allocations: 0 / 255.8 MB, free: 3.316 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.1905, allocations: 150.7 kB / 255.9 MB, free: 3.156 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001505/0.1907, allocations: 11.95 kB / 255.9 MB, free: 3.145 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005434/0.1913, allocations: 371.4 kB / 256.3 MB, free: 2.766 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.1915, allocations: 0.7082 MB / 257 MB, free: 2.031 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 4.494e-05/0.1916, allocations: 20.59 kB / 257 MB, free: 2.008 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.31e-05/0.1916, allocations: 11.44 kB / 257 MB, free: 1.996 MB / 186.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1916, allocations: 0 / 257 MB, free: 1.996 MB / 186.7 MB Notification: Performance of Templates: time 0.003925/0.1956, allocations: 1.529 MB / 258.5 MB, free: 492 kB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.pipe 2>&1)