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.000903/0.000903, allocations: 183.2 kB / 8.354 MB, free: 0.7305 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.394/1.394, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001708/0.001708, allocations: 122.1 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.907e-05/1.909e-05, allocations: 0 / 298.1 MB, free: 35.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08159/0.08163, allocations: 44.5 MB / 342.6 MB, free: 7.012 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2993/0.381, allocations: 74.27 MB / 416.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.3813, allocations: 75.12 kB / 416.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01644/0.3977, allocations: 6.82 MB / 423.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3978, allocations: 0 / 423.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3978, allocations: 3.938 kB / 423.7 MB, free: 9.441 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.0006828/0.3985, allocations: 0.5343 MB / 424.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.3985, allocations: 7.719 kB / 424.3 MB, free: 8.98 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.3986, allocations: 34.84 kB / 424.3 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.3989, allocations: 262.5 kB / 424.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3989, allocations: 7.625 kB / 424.6 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.823e-05/0.399, allocations: 19.03 kB / 424.6 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002761/0.3992, allocations: 174.3 kB / 424.8 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.3996, allocations: 189.4 kB / 424.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3996, allocations: 0 / 424.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.3996, allocations: 0 / 424.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.3996, allocations: 7.531 kB / 425 MB, free: 8.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.4008, allocations: 0.9633 MB / 425.9 MB, free: 8.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.4011, allocations: 178.7 kB / 426.1 MB, free: 7.969 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.4012, allocations: 94.92 kB / 426.2 MB, free: 7.957 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.097e-05/0.4013, allocations: 15.56 kB / 426.2 MB, free: 7.949 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/0.4013, allocations: 37.59 kB / 426.2 MB, free: 7.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 1.343e-06/0.4013, allocations: 0 / 426.2 MB, free: 7.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=34): time 0.003016/0.4043, allocations: 1.094 MB / 427.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.139e-05/0.4044, allocations: 55.25 kB / 427.4 MB, free: 7.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.4046, allocations: 184.8 kB / 427.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.4046, allocations: 25.7 kB / 427.6 MB, free: 7.188 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.74e-05/0.4047, allocations: 178.3 kB / 427.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.116e-05/0.4047, allocations: 121.5 kB / 427.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.4048, allocations: 0 / 427.9 MB, free: 6.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.971e-05/0.4048, allocations: 339.1 kB / 428.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.405, allocations: 90.06 kB / 428.3 MB, free: 6.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001573/0.4051, allocations: 151.8 kB / 428.5 MB, free: 6.562 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.4053, allocations: 112.6 kB / 428.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4053, allocations: 0 / 428.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001321/0.4066, allocations: 488.4 kB / 429 MB, free: 6.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.4067, allocations: 7.438 kB / 429 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4067, allocations: 3.812 kB / 429 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008218/0.4075, allocations: 183.4 kB / 429.2 MB, free: 6.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.4078, allocations: 57.72 kB / 429.3 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003377/0.4112, allocations: 3.625 MB / 432.9 MB, free: 3.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002405/0.4114, allocations: 7.859 kB / 432.9 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.176e-05/0.4115, allocations: 15.25 kB / 432.9 MB, free: 3.523 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 9.922e-05/0.4116, allocations: 113.8 kB / 433 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.4116, allocations: 27.25 kB / 433.1 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.76e-05/0.4117, allocations: 32.86 kB / 433.1 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.4117, allocations: 3.844 kB / 433.1 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4118, allocations: 0 / 433.1 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4118, allocations: 3.953 kB / 433.1 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.4133, allocations: 0.8683 MB / 434 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4134, allocations: 4 kB / 434 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.4135, allocations: 39.33 kB / 434 MB, free: 2.906 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006668/0.4142, allocations: 191 kB / 434.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.4143, allocations: 0 / 434.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00362/0.4179, allocations: 3.622 MB / 437.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4179, allocations: 0 / 437.8 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.4194, allocations: 0.6736 MB / 438.5 MB, free: 15.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.4195, allocations: 96.52 kB / 438.6 MB, free: 15.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.4195, allocations: 4.062 kB / 438.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002869/0.4198, allocations: 11.67 kB / 438.6 MB, free: 15.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.332e-05/0.4199, allocations: 34.8 kB / 438.6 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.4199, allocations: 11.06 kB / 438.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001305/0.4201, allocations: 152.3 kB / 438.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4201, allocations: 0 / 438.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006691/0.4208, allocations: 91.62 kB / 438.9 MB, free: 15.55 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.0001913/0.421, allocations: 106.1 kB / 439 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006584/0.4216, allocations: 0.506 MB / 439.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4217, allocations: 3.969 kB / 439.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.422, allocations: 386.5 kB / 439.9 MB, free: 14.95 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.4223, allocations: 20.58 kB / 439.9 MB, free: 14.94 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008026/0.4231, allocations: 447.5 kB / 440.3 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.4235, allocations: 0.7854 MB / 441.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 9.373e-05/0.4236, allocations: 17.8 kB / 441.1 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.4236, allocations: 19 kB / 441.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4236, allocations: 0 / 441.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of Templates: time 0.008102/0.4317, allocations: 4.935 MB / 446.1 MB, free: 11.46 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)