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.001002/0.001002, allocations: 180.1 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.191/1.191, allocations: 194.5 MB / 211.6 MB, free: 3.035 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.001581/0.001581, allocations: 127.1 kB / 256.9 MB, free: 4.324 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002866, allocations: 8 kB / 310.6 MB, free: 14.94 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07732/0.07762, allocations: 44.51 MB / 355.1 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2074/0.2851, allocations: 75.01 MB / 430.1 MB, free: 14.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.2853, allocations: 75.72 kB / 430.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.3004, allocations: 6.896 MB / 437 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3004, allocations: 0 / 437 MB, free: 8.793 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.3004, allocations: 8 kB / 437.1 MB, free: 8.785 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.0007181/0.3011, allocations: 0.5526 MB / 437.6 MB, free: 8.207 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3012, allocations: 8.031 kB / 437.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.3012, allocations: 32.66 kB / 437.6 MB, free: 8.168 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002933/0.3015, allocations: 261.8 kB / 437.9 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.3016, allocations: 20.12 kB / 437.9 MB, free: 7.879 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.968e-05/0.3016, allocations: 27.12 kB / 437.9 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004059/0.302, allocations: 249.1 kB / 438.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/0.3021, allocations: 0 / 438.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.3021, allocations: 11.06 kB / 438.2 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3021, allocations: 4 kB / 438.2 MB, free: 7.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004014/0.3025, allocations: 222.4 kB / 438.4 MB, free: 7.523 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/0.3038, allocations: 1.019 MB / 439.4 MB, free: 6.613 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003627/0.3042, allocations: 198 kB / 439.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3043, allocations: 8 kB / 439.6 MB, free: 6.465 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.3043, allocations: 33.44 kB / 439.7 MB, free: 6.426 MB / 314.7 MB Notification: Performance of pre-optimization done (n=23): time 2.314e-06/0.3043, allocations: 4.094 kB / 439.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.004351/0.3087, allocations: 1.503 MB / 441.2 MB, free: 5.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.049e-05/0.3087, allocations: 55.41 kB / 441.2 MB, free: 5.043 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3088, allocations: 207.6 kB / 441.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.3089, allocations: 33.39 kB / 441.5 MB, free: 4.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.385e-05/0.3089, allocations: 180.3 kB / 441.6 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.211e-05/0.309, allocations: 124 kB / 441.8 MB, free: 4.574 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/0.309, allocations: 3.438 kB / 441.8 MB, free: 4.574 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.568e-05/0.3091, allocations: 344.7 kB / 442.1 MB, free: 4.242 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.3093, allocations: 103.3 kB / 442.2 MB, free: 4.176 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.3095, allocations: 155.2 kB / 442.4 MB, free: 4.055 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.3098, allocations: 127 kB / 442.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3098, allocations: 0 / 442.5 MB, free: 3.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001372/0.3111, allocations: 0.5399 MB / 443 MB, free: 3.562 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3112, allocations: 4 kB / 443 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3112, allocations: 5.484 kB / 443 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.3125, allocations: 249.1 kB / 443.3 MB, free: 3.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.3128, allocations: 63.66 kB / 443.3 MB, free: 3.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003599/0.3164, allocations: 3.805 MB / 447.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.3166, allocations: 8 kB / 447.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.567e-05/0.3166, allocations: 12 kB / 447.2 MB, free: 15.49 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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.0001534/0.3168, allocations: 145.8 kB / 447.3 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.3169, allocations: 23.72 kB / 447.3 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.293e-05/0.317, allocations: 50.97 kB / 447.4 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.317, allocations: 4 kB / 447.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.317, allocations: 0 / 447.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.317, allocations: 7.984 kB / 447.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003936/0.3174, allocations: 373.3 kB / 447.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3174, allocations: 0 / 447.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.3176, allocations: 43.91 kB / 447.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.319, allocations: 249.5 kB / 448 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.3191, allocations: 4 kB / 448 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/0.3231, allocations: 3.689 MB / 451.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.3231, allocations: 3.938 kB / 451.7 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/0.3249, allocations: 0.7134 MB / 452.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.941e-05/0.325, allocations: 104.8 kB / 452.6 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.325, allocations: 10.55 kB / 452.6 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002175/0.3253, allocations: 12 kB / 452.6 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.3254, allocations: 27.95 kB / 452.6 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.146e-05/0.3254, allocations: 11.98 kB / 452.6 MB, free: 9.68 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001438/0.3255, allocations: 160.5 kB / 452.8 MB, free: 9.523 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3255, allocations: 4.062 kB / 452.8 MB, free: 9.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005019/0.326, allocations: 104 kB / 452.9 MB, free: 9.418 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (coil.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 (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.0001795/0.3262, allocations: 119.2 kB / 453 MB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.3272, allocations: 0.5617 MB / 453.6 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3272, allocations: 256 / 453.6 MB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005287/0.3277, allocations: 433.7 kB / 454 MB, free: 8.258 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.3279, allocations: 21.64 kB / 454 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3292, allocations: 0.8348 MB / 454.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.3295, allocations: 0.7855 MB / 455.6 MB, free: 6.562 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.3296, allocations: 26.28 kB / 455.6 MB, free: 6.539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.573e-05/0.3297, allocations: 15.44 kB / 455.7 MB, free: 6.523 MB / 330.7 MB Notification: Performance of SimCode: time 4.1e-07/0.3297, allocations: 0 / 455.7 MB, free: 6.523 MB / 330.7 MB Notification: Performance of Templates: time 0.009191/0.3389, allocations: 5.296 MB / 461 MB, free: 1.289 MB / 330.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)