Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 194.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.336/1.336, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 55.92 kB / 278.7 MB, free: 12.33 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2114/0.2126, allocations: 46.63 MB / 325.3 MB, free: 1.836 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003633/0.2162, allocations: 2.674 MB / 328 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.2177, allocations: 0.9083 MB / 328.9 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.2179, allocations: 12.31 kB / 328.9 MB, free: 14.98 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.2181, allocations: 53.73 kB / 329 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.2184, allocations: 102.3 kB / 329.1 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002418/0.2187, allocations: 95.23 kB / 329.1 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003687/0.219, allocations: 355.7 kB / 329.5 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002165/0.2193, allocations: 111.7 kB / 329.6 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001965/0.2195, allocations: 133.9 kB / 329.7 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002166/0.2197, allocations: 148.8 kB / 329.9 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.2198, allocations: 28.91 kB / 329.9 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.265e-05/0.2198, allocations: 30.28 kB / 329.9 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.2199, allocations: 71.83 kB / 330 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001685/0.2201, allocations: 152.5 kB / 330.2 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003764/0.2205, allocations: 362.4 kB / 330.5 MB, free: 13.89 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.2205, allocations: 0 / 330.5 MB, free: 13.89 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2205, allocations: 0 / 330.5 MB, free: 13.89 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2205, allocations: 1.094 kB / 330.5 MB, free: 13.89 MB / 270.1 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.001095/0.2216, allocations: 0.6001 MB / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2217, allocations: 12.7 kB / 331.1 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.943e-05/0.2218, allocations: 32.94 kB / 331.2 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003125/0.2221, allocations: 264.7 kB / 331.4 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.901e-05/0.2221, allocations: 20.38 kB / 331.4 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.042e-05/0.2222, allocations: 25.91 kB / 331.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005236/0.2227, allocations: 253.1 kB / 331.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2227, allocations: 1.125 kB / 331.7 MB, free: 12.88 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.992e-05/0.2228, allocations: 14.41 kB / 331.7 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.2228, allocations: 9.703 kB / 331.7 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/0.2233, allocations: 207.4 kB / 331.9 MB, free: 12.78 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2249, allocations: 1.002 MB / 332.9 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.2254, allocations: 202.2 kB / 333.1 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002911/0.2257, allocations: 109.5 kB / 333.2 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.857e-05/0.2257, allocations: 10.19 kB / 333.2 MB, free: 11.74 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.2258, allocations: 35.69 kB / 333.3 MB, free: 11.7 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.2258, allocations: 0 / 333.3 MB, free: 11.7 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.005107/0.2309, allocations: 1.534 MB / 334.8 MB, free: 10.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.231, allocations: 63.34 kB / 334.9 MB, free: 10.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002215/0.2312, allocations: 229 kB / 335.1 MB, free: 9.816 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.2312, allocations: 33.7 kB / 335.1 MB, free: 9.777 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001105/0.2313, allocations: 180.1 kB / 335.3 MB, free: 9.598 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.2314, allocations: 126.2 kB / 335.4 MB, free: 9.473 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.2316, allocations: 62.08 kB / 335.5 MB, free: 9.402 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.2317, allocations: 334.8 kB / 335.8 MB, free: 9.066 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.232, allocations: 116.7 kB / 335.9 MB, free: 8.953 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.2322, allocations: 161.3 kB / 336.1 MB, free: 8.781 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.2328, allocations: 283.8 kB / 336.4 MB, free: 8.488 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.2328, allocations: 0 / 336.4 MB, free: 8.488 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001561/0.2343, allocations: 0.537 MB / 336.9 MB, free: 7.938 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2344, allocations: 8 kB / 336.9 MB, free: 7.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2344, allocations: 0 / 336.9 MB, free: 7.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.2356, allocations: 241.5 kB / 337.2 MB, free: 7.688 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.2359, allocations: 63.89 kB / 337.2 MB, free: 7.625 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004923/0.2409, allocations: 4.133 MB / 341.3 MB, free: 3.211 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.2411, allocations: 16.03 kB / 341.4 MB, free: 3.195 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.2412, allocations: 19.98 kB / 341.4 MB, free: 3.176 MB / 270.1 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.000203/0.2414, allocations: 141.8 kB / 341.5 MB, free: 3.027 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.257e-05/0.2415, allocations: 23.72 kB / 341.5 MB, free: 3.004 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.475e-05/0.2416, allocations: 46.95 kB / 341.6 MB, free: 2.957 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2416, allocations: 0 / 341.6 MB, free: 2.957 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.685e-05/0.2416, allocations: 4 kB / 341.6 MB, free: 2.953 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.2416, allocations: 7.938 kB / 341.6 MB, free: 2.945 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002033/0.2437, allocations: 0.992 MB / 342.6 MB, free: 1.887 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2437, allocations: 0 / 342.6 MB, free: 1.887 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002098/0.2439, allocations: 39.97 kB / 342.6 MB, free: 1.848 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001174/0.2451, allocations: 241.5 kB / 342.9 MB, free: 1.605 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.349e-05/0.2451, allocations: 12 kB / 342.9 MB, free: 1.594 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004878/0.25, allocations: 4.122 MB / 347 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.25, allocations: 0 / 347 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001826/0.2519, allocations: 0.7365 MB / 347.7 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.252, allocations: 104.8 kB / 347.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.783e-05/0.252, allocations: 7.938 kB / 347.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2522, allocations: 15.98 kB / 347.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.365e-05/0.2523, allocations: 28.03 kB / 347.9 MB, free: 12.26 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.2524, allocations: 15.98 kB / 347.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001449/0.2525, allocations: 160.5 kB / 348.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2525, allocations: 0 / 348.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005958/0.2531, allocations: 100 kB / 348.2 MB, free: 11.99 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001291/0.2533, allocations: 107.2 kB / 348.3 MB, free: 11.87 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.2543, allocations: 0.5789 MB / 348.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2543, allocations: 0 / 348.8 MB, free: 11.27 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005637/0.2549, allocations: 421.5 kB / 349.3 MB, free: 10.83 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.2553, allocations: 27.39 kB / 349.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2565, allocations: 0.7008 MB / 350 MB, free: 10.08 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.2569, allocations: 0.7798 MB / 350.8 MB, free: 9.273 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.00011/0.257, allocations: 26.28 kB / 350.8 MB, free: 9.25 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.257, allocations: 19.38 kB / 350.8 MB, free: 9.23 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.257, allocations: 0 / 350.8 MB, free: 9.23 MB / 286.1 MB Notification: Performance of Templates: time 0.009266/0.2663, allocations: 5.414 MB / 356.2 MB, free: 3.812 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)