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.7888/0.7888, allocations: 110.8 MB / 123.3 MB, free: 10.75 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001864/0.001863, allocations: 151.5 kB / 149.1 MB, free: 0.9609 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.542e-05, allocations: 4 kB / 180.2 MB, free: 17.56 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.04493/0.04497, allocations: 25.18 MB / 205.4 MB, free: 8.422 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0482/0.09321, allocations: 34.95 MB / 240.3 MB, free: 5.414 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.09345, allocations: 63.97 kB / 240.4 MB, free: 5.352 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006244/0.0997, allocations: 2.164 MB / 242.6 MB, free: 3.184 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.083e-06/0.09972, allocations: 0 / 242.6 MB, free: 3.184 MB / 186.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.09974, allocations: 0 / 242.6 MB, free: 3.184 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.0004907/0.1002, allocations: 414.1 kB / 243 MB, free: 2.734 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.1003, allocations: 8.031 kB / 243 MB, free: 2.727 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.1003, allocations: 19.81 kB / 243 MB, free: 2.707 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.1005, allocations: 196 kB / 243.2 MB, free: 2.48 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.1005, allocations: 4 kB / 243.2 MB, free: 2.477 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.1006, allocations: 8 kB / 243.2 MB, free: 2.469 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.1008, allocations: 120.2 kB / 243.3 MB, free: 2.336 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1008, allocations: 0 / 243.3 MB, free: 2.336 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.1008, allocations: 4 kB / 243.3 MB, free: 2.332 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1008, allocations: 4 kB / 243.3 MB, free: 2.328 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.1009, allocations: 47.94 kB / 243.4 MB, free: 2.281 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000864/0.1018, allocations: 498.5 kB / 243.9 MB, free: 1.73 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.524e-05/0.1019, allocations: 38.67 kB / 243.9 MB, free: 1.684 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.102, allocations: 20.84 kB / 243.9 MB, free: 1.66 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.102, allocations: 4 kB / 243.9 MB, free: 1.656 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.102, allocations: 38.56 kB / 244 MB, free: 1.609 MB / 186.7 MB Notification: Performance of pre-optimization done (n=4): time 2.554e-06/0.102, allocations: 3.984 kB / 244 MB, free: 1.605 MB / 186.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003874/0.1024, allocations: 98.36 kB / 244.1 MB, free: 1.5 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.1025, allocations: 102.8 kB / 244.2 MB, free: 1.375 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.1026, allocations: 141.4 kB / 244.3 MB, free: 1.227 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.1026, allocations: 29.7 kB / 244.3 MB, free: 1.191 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.077e-05/0.1027, allocations: 119.8 kB / 244.4 MB, free: 1.07 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.515e-05/0.1027, allocations: 15.81 kB / 244.5 MB, free: 1.055 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/0.1028, allocations: 0 / 244.5 MB, free: 1.055 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1029, allocations: 322.8 kB / 244.8 MB, free: 0.7305 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.1029, allocations: 16 kB / 244.8 MB, free: 0.7148 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.4e-05/0.103, allocations: 57.14 kB / 244.8 MB, free: 0.6406 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.378e-05/0.1031, allocations: 27.95 kB / 244.9 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1031, allocations: 0 / 244.9 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003178/0.1034, allocations: 126.3 kB / 245 MB, free: 492 kB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1034, allocations: 12.09 kB / 245 MB, free: 480 kB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1034, allocations: 0 / 245 MB, free: 480 kB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002838/0.1037, allocations: 44.81 kB / 245.1 MB, free: 432 kB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008773/0.1046, allocations: 135.8 kB / 245.2 MB, free: 296 kB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1106/0.2153, allocations: 2.764 MB / 248 MB, free: 39.45 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.2155, allocations: 17.09 kB / 248 MB, free: 39.45 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2155, allocations: 3.906 kB / 248 MB, free: 39.45 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: SaturatingInductance1.Psi:VARIABLE(unit = "Wb" ) 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 () * 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.0001714/0.2157, allocations: 118.2 kB / 248.1 MB, free: 39.34 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.434e-05/0.2158, allocations: 12.92 kB / 248.1 MB, free: 39.34 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003644/0.2161, allocations: 120.8 kB / 248.2 MB, free: 39.29 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.2162, allocations: 1.188 kB / 248.2 MB, free: 39.29 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.2162, allocations: 1.844 kB / 248.2 MB, free: 39.29 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2162, allocations: 0.6094 kB / 248.2 MB, free: 39.29 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.2164, allocations: 210.7 kB / 248.4 MB, free: 39.1 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2164, allocations: 0.5156 kB / 248.4 MB, free: 39.1 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.744e-05/0.2165, allocations: 8.469 kB / 248.4 MB, free: 39.1 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.2168, allocations: 56.55 kB / 248.5 MB, free: 39.09 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.2168, allocations: 2.547 kB / 248.5 MB, free: 39.09 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009753/0.2178, allocations: 1.356 MB / 249.9 MB, free: 37.84 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2178, allocations: 0 / 249.9 MB, free: 37.84 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.2182, allocations: 228.6 kB / 250.1 MB, free: 37.7 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.336e-05/0.2182, allocations: 91.11 kB / 250.2 MB, free: 37.6 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/0.2182, allocations: 1.797 kB / 250.2 MB, free: 37.6 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.2184, allocations: 19.47 kB / 250.2 MB, free: 37.6 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.2185, allocations: 13.5 kB / 250.2 MB, free: 37.59 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.2185, allocations: 1.219 kB / 250.2 MB, free: 37.59 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.317e-05/0.2186, allocations: 122.6 kB / 250.3 MB, free: 37.52 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2186, allocations: 1.156 kB / 250.3 MB, free: 37.52 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0003035/0.2189, allocations: 44.48 kB / 250.4 MB, free: 37.51 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 () * 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.0001268/0.219, allocations: 100.6 kB / 250.5 MB, free: 37.42 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0009105/0.2199, allocations: 252.6 kB / 250.7 MB, free: 37.3 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.2199, allocations: 1.281 kB / 250.7 MB, free: 37.3 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001904/0.2201, allocations: 142.9 kB / 250.8 MB, free: 37.19 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.2203, allocations: 6.328 kB / 250.9 MB, free: 37.19 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000428/0.2207, allocations: 197.5 kB / 251 MB, free: 37.06 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001851/0.2209, allocations: 0.7176 MB / 251.8 MB, free: 36.36 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 5.079e-05/0.221, allocations: 11.64 kB / 251.8 MB, free: 36.35 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.221, allocations: 20.22 kB / 251.8 MB, free: 36.34 MB / 186.7 MB Notification: Performance of SimCode: time 6.81e-07/0.221, allocations: 0 / 251.8 MB, free: 36.34 MB / 186.7 MB Notification: Performance of Templates: time 0.004391/0.2254, allocations: 1.535 MB / 253.3 MB, free: 36.24 MB / 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)