Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00133/0.00133, allocations: 170.3 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.14/1.14, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001585/0.001585, allocations: 99.52 kB / 223.2 MB, free: 4.055 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.317e-05/2.318e-05, allocations: 4 kB / 268.9 MB, free: 20.92 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06584/0.06588, allocations: 38.77 MB / 307.6 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2254/0.2914, allocations: 70.39 MB / 378 MB, free: 5.871 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.2916, allocations: 71.47 kB / 378.1 MB, free: 5.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01806/0.3097, allocations: 6.713 MB / 384.8 MB, free: 156 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3097, allocations: 0 / 384.8 MB, free: 156 kB / 266.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.3097, allocations: 4 kB / 384.8 MB, free: 152 kB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007578/0.3105, allocations: 0.5293 MB / 385.3 MB, free: 15.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.3106, allocations: 12.02 kB / 385.3 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.3106, allocations: 31.62 kB / 385.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.3109, allocations: 254.9 kB / 385.6 MB, free: 15.29 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.39e-05/0.311, allocations: 24.12 kB / 385.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.005e-05/0.311, allocations: 31.2 kB / 385.7 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.3114, allocations: 224.1 kB / 385.9 MB, free: 15.09 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3114, allocations: 4 kB / 385.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.3114, allocations: 7.438 kB / 385.9 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.3114, allocations: 8 kB / 385.9 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002833/0.3117, allocations: 179.1 kB / 386.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.3132, allocations: 1.013 MB / 387.1 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.3135, allocations: 184.6 kB / 387.3 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.3137, allocations: 91.61 kB / 387.4 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001097/0.3138, allocations: 89.22 kB / 387.5 MB, free: 13.74 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3138, allocations: 38.62 kB / 387.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 1.593e-06/0.3138, allocations: 0 / 387.5 MB, free: 13.7 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.005223/0.3191, allocations: 1.257 MB / 388.8 MB, free: 12.6 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.3191, allocations: 55.41 kB / 388.8 MB, free: 12.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002128/0.3193, allocations: 206.8 kB / 389 MB, free: 12.36 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3194, allocations: 36.33 kB / 389 MB, free: 12.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.3195, allocations: 179.1 kB / 389.2 MB, free: 12.17 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.095e-05/0.3196, allocations: 94.94 kB / 389.3 MB, free: 12.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.3196, allocations: 10.19 kB / 389.3 MB, free: 12.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001185/0.3197, allocations: 336.8 kB / 389.6 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001632/0.3199, allocations: 100.9 kB / 389.7 MB, free: 11.7 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.3201, allocations: 148.6 kB / 389.9 MB, free: 11.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002112/0.3203, allocations: 119.2 kB / 390 MB, free: 11.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3203, allocations: 0 / 390 MB, free: 11.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001922/0.3222, allocations: 0.5199 MB / 390.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.3223, allocations: 4 kB / 390.5 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.3223, allocations: 11.92 kB / 390.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.3235, allocations: 209 kB / 390.7 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.3237, allocations: 51.91 kB / 390.8 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003499/0.3272, allocations: 2.695 MB / 393.5 MB, free: 8.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.3275, allocations: 15.45 kB / 393.5 MB, free: 8.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.3275, allocations: 11.56 kB / 393.5 MB, free: 8.359 MB / 282.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 (27): * Single equations (assignments): 25 * 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%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.3276, allocations: 127.8 kB / 393.6 MB, free: 8.238 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.3277, allocations: 23.72 kB / 393.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.3297, allocations: 495.1 kB / 394.2 MB, free: 7.852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3297, allocations: 3.953 kB / 394.2 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.3297, allocations: 4 kB / 394.2 MB, free: 7.844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.3297, allocations: 3.984 kB / 394.2 MB, free: 7.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00238/0.3321, allocations: 0.9529 MB / 395.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.3321, allocations: 3.984 kB / 395.1 MB, free: 7.031 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.3323, allocations: 46.97 kB / 395.2 MB, free: 6.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001098/0.3334, allocations: 208.1 kB / 395.4 MB, free: 6.816 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/0.3335, allocations: 7.5 kB / 395.4 MB, free: 6.812 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003329/0.3368, allocations: 2.691 MB / 398.1 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3368, allocations: 64 / 398.1 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00211/0.339, allocations: 0.7123 MB / 398.8 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001437/0.3391, allocations: 126.8 kB / 398.9 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.3392, allocations: 10.81 kB / 398.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.3394, allocations: 14.23 kB / 398.9 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.227e-05/0.3395, allocations: 23.33 kB / 399 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.3395, allocations: 15.69 kB / 399 MB, free: 3.605 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.3397, allocations: 161.3 kB / 399.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3397, allocations: 0 / 399.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005109/0.3402, allocations: 102.6 kB / 399.2 MB, free: 3.379 MB / 282.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 (17): * Single equations (assignments): 15 * 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%) 8} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002228/0.3404, allocations: 123.7 kB / 399.3 MB, free: 3.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007264/0.3412, allocations: 420.7 kB / 399.8 MB, free: 2.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3412, allocations: 3.938 kB / 399.8 MB, free: 2.926 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.3416, allocations: 290.6 kB / 400 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.3418, allocations: 23.05 kB / 400.1 MB, free: 2.672 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008091/0.3427, allocations: 439.4 kB / 400.5 MB, free: 2.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.343, allocations: 0.7794 MB / 401.3 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.763e-05/0.3431, allocations: 22.05 kB / 401.3 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.3431, allocations: 19.44 kB / 401.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3432, allocations: 0 / 401.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of Templates: time 0.00856/0.3517, allocations: 4.856 MB / 406.2 MB, free: 12.59 MB / 298.7 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)