Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001559/0.001559, allocations: 182.8 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.409/1.409, allocations: 194.2 MB / 208.4 MB, free: 6.73 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.001598/0.001598, allocations: 128.6 kB / 253.5 MB, free: 9.594 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.258e-05/2.26e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06968/0.06972, allocations: 44.51 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3139/0.3837, allocations: 74.93 MB / 424.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.384, allocations: 68.27 kB / 424.4 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02233/0.4063, allocations: 6.888 MB / 431.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4064, allocations: 0 / 431.3 MB, free: 8.512 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.4064, allocations: 3.812 kB / 431.3 MB, free: 8.512 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0006433/0.407, allocations: 0.5282 MB / 431.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4071, allocations: 7.688 kB / 431.9 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.4072, allocations: 34.69 kB / 431.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.4076, allocations: 262.3 kB / 432.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.4076, allocations: 19.03 kB / 432.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.992e-05/0.4077, allocations: 33.81 kB / 432.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.4082, allocations: 230.1 kB / 432.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.4082, allocations: 3.844 kB / 432.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.4083, allocations: 7.312 kB / 432.4 MB, free: 7.727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4083, allocations: 11.67 kB / 432.5 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004647/0.4088, allocations: 183.8 kB / 432.6 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/0.4105, allocations: 1.018 MB / 433.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.4109, allocations: 192.1 kB / 433.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002423/0.4112, allocations: 105.5 kB / 433.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.4112, allocations: 0 / 433.9 MB, free: 6.988 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.4113, allocations: 41.66 kB / 434 MB, free: 6.945 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.204e-06/0.4113, allocations: 0 / 434 MB, free: 6.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.004832/0.4161, allocations: 1.218 MB / 435.2 MB, free: 6.406 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.4162, allocations: 63.17 kB / 435.3 MB, free: 6.336 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002561/0.4164, allocations: 204.2 kB / 435.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.4165, allocations: 36.95 kB / 435.5 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.4166, allocations: 176.2 kB / 435.7 MB, free: 6.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.314e-05/0.4167, allocations: 115.8 kB / 435.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.478e-05/0.4167, allocations: 10.78 kB / 435.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.002e-05/0.4168, allocations: 334.2 kB / 436.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002224/0.417, allocations: 103.4 kB / 436.2 MB, free: 5.637 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.4173, allocations: 148.8 kB / 436.4 MB, free: 5.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002835/0.4176, allocations: 109.7 kB / 436.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4176, allocations: 3.984 kB / 436.5 MB, free: 5.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001799/0.4194, allocations: 0.5147 MB / 437 MB, free: 5.398 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.4194, allocations: 7.469 kB / 437 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.4195, allocations: 0 / 437 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009999/0.4205, allocations: 191.2 kB / 437.2 MB, free: 5.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.4208, allocations: 62.11 kB / 437.2 MB, free: 5.324 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/0.4258, allocations: 3.763 MB / 441 MB, free: 2.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003268/0.4262, allocations: 17.08 kB / 441 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.4262, allocations: 10.88 kB / 441 MB, free: 2.41 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.4263, allocations: 118.8 kB / 441.2 MB, free: 2.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.92e-05/0.4264, allocations: 30.97 kB / 441.2 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000111/0.4265, allocations: 45.34 kB / 441.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4265, allocations: 3.938 kB / 441.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.4265, allocations: 0 / 441.2 MB, free: 2.27 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4266, allocations: 11.77 kB / 441.2 MB, free: 2.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002552/0.4291, allocations: 0.9264 MB / 442.2 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.4291, allocations: 0 / 442.2 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.4294, allocations: 46.84 kB / 442.2 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001008/0.4304, allocations: 184.6 kB / 442.4 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.252e-05/0.4305, allocations: 7.281 kB / 442.4 MB, free: 1.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005427/0.4359, allocations: 3.756 MB / 446.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.436, allocations: 0 / 446.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002223/0.4382, allocations: 0.7131 MB / 446.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4383, allocations: 100.5 kB / 447 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.4384, allocations: 3.25 kB / 447 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003205/0.4387, allocations: 19.08 kB / 447 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.4389, allocations: 30.5 kB / 447 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.4389, allocations: 7.797 kB / 447 MB, free: 14.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.4391, allocations: 161.3 kB / 447.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4391, allocations: 0 / 447.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000939/0.44, allocations: 103 kB / 447.3 MB, free: 14.3 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 16 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002131/0.4403, allocations: 128 kB / 447.4 MB, free: 14.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.4413, allocations: 0.5355 MB / 447.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4414, allocations: 0 / 447.9 MB, free: 13.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006609/0.442, allocations: 424.9 kB / 448.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.4424, allocations: 20.06 kB / 448.4 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.4436, allocations: 448.7 kB / 448.8 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004541/0.4441, allocations: 0.7879 MB / 449.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.4443, allocations: 18.08 kB / 449.6 MB, free: 12.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.513e-05/0.4444, allocations: 15.44 kB / 449.6 MB, free: 12.4 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4444, allocations: 4 kB / 449.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of Templates: time 0.01482/0.4592, allocations: 5.341 MB / 455 MB, free: 7.082 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)