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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009125/0.0009126, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005699/0.005699, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.405/1.405, allocations: 205.4 MB / 222.4 MB, free: 5.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.0004862/0.0004863, allocations: 12 kB / 279.4 MB, free: 12.53 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2722, allocations: 47.59 MB / 327 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002667/0.2749, allocations: 2.354 MB / 329.4 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001357/0.2763, allocations: 0.8402 MB / 330.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.2764, allocations: 5.438 kB / 330.2 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002307/0.2766, allocations: 45.28 kB / 330.3 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.2769, allocations: 90.28 kB / 330.4 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.2772, allocations: 88.19 kB / 330.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000372/0.2776, allocations: 325.9 kB / 330.8 MB, free: 14.51 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.2778, allocations: 101.4 kB / 330.9 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.278, allocations: 120.2 kB / 331 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.2782, allocations: 144.3 kB / 331.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.2782, allocations: 15.25 kB / 331.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.19e-05/0.2783, allocations: 15.88 kB / 331.1 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.2783, allocations: 43.84 kB / 331.2 MB, free: 14.25 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.2785, allocations: 166 kB / 331.4 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.2789, allocations: 338.5 kB / 331.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2789, allocations: 0 / 331.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2789, allocations: 1.312 kB / 331.7 MB, free: 13.87 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2789, allocations: 4 kB / 331.7 MB, free: 13.87 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.0009367/0.2798, allocations: 0.5578 MB / 332.2 MB, free: 13.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2799, allocations: 9.5 kB / 332.3 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.28, allocations: 36.44 kB / 332.3 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003353/0.2803, allocations: 265.2 kB / 332.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.2804, allocations: 19.91 kB / 332.6 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.97e-05/0.2804, allocations: 25.72 kB / 332.6 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005107/0.281, allocations: 253.4 kB / 332.8 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.281, allocations: 4 kB / 332.8 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.281, allocations: 11.25 kB / 332.9 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.281, allocations: 6.906 kB / 332.9 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004842/0.2815, allocations: 217.2 kB / 333.1 MB, free: 12.79 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001649/0.2832, allocations: 1.008 MB / 334.1 MB, free: 11.92 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.2837, allocations: 215.9 kB / 334.3 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002533/0.2839, allocations: 109.8 kB / 334.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.804e-05/0.284, allocations: 2.188 kB / 334.4 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.284, allocations: 36.62 kB / 334.4 MB, free: 11.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.643e-06/0.284, allocations: 0 / 334.4 MB, free: 11.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.005063/0.2891, allocations: 1.558 MB / 336 MB, free: 10.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.2891, allocations: 63.28 kB / 336.1 MB, free: 10.03 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.2894, allocations: 225 kB / 336.3 MB, free: 9.801 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.927e-05/0.2894, allocations: 29.7 kB / 336.3 MB, free: 9.766 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2895, allocations: 180.2 kB / 336.5 MB, free: 9.586 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.552e-05/0.2896, allocations: 122.3 kB / 336.6 MB, free: 9.465 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.2897, allocations: 33.7 kB / 336.6 MB, free: 9.426 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2898, allocations: 342.8 kB / 337 MB, free: 9.082 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.2901, allocations: 104.7 kB / 337.1 MB, free: 8.977 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.2903, allocations: 169.2 kB / 337.2 MB, free: 8.797 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005183/0.2909, allocations: 287.8 kB / 337.5 MB, free: 8.5 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2909, allocations: 0 / 337.5 MB, free: 8.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001601/0.2925, allocations: 0.5526 MB / 338.1 MB, free: 7.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2925, allocations: 4 kB / 338.1 MB, free: 7.93 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2925, allocations: 7.984 kB / 338.1 MB, free: 7.922 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/0.294, allocations: 253.4 kB / 338.3 MB, free: 7.668 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.2943, allocations: 55.97 kB / 338.4 MB, free: 7.613 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/0.2988, allocations: 3.752 MB / 342.1 MB, free: 3.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.2991, allocations: 11.98 kB / 342.2 MB, free: 3.578 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.2991, allocations: 16 kB / 342.2 MB, free: 3.562 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.000165/0.2993, allocations: 149.8 kB / 342.3 MB, free: 3.406 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.511e-05/0.2993, allocations: 23.72 kB / 342.3 MB, free: 3.383 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.2995, allocations: 42.95 kB / 342.4 MB, free: 3.34 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2995, allocations: 3.938 kB / 342.4 MB, free: 3.336 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.2995, allocations: 4 kB / 342.4 MB, free: 3.332 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.2995, allocations: 3.984 kB / 342.4 MB, free: 3.328 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.3016, allocations: 1 MB / 343.4 MB, free: 2.262 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3016, allocations: 0 / 343.4 MB, free: 2.262 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.3018, allocations: 39.97 kB / 343.4 MB, free: 2.223 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/0.3033, allocations: 261.4 kB / 343.7 MB, free: 1.961 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.364e-05/0.3033, allocations: 8 kB / 343.7 MB, free: 1.953 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004459/0.3078, allocations: 3.744 MB / 347.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3078, allocations: 0 / 347.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001866/0.3097, allocations: 0.7406 MB / 348.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.3098, allocations: 100.9 kB / 348.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.437e-05/0.3098, allocations: 7.938 kB / 348.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000222/0.31, allocations: 20.05 kB / 348.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.372e-05/0.3101, allocations: 35.89 kB / 348.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.3102, allocations: 8 kB / 348.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.3103, allocations: 164.5 kB / 348.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3103, allocations: 0 / 348.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006062/0.3109, allocations: 100 kB / 348.6 MB, free: 12.73 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.3111, allocations: 107.2 kB / 348.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009442/0.312, allocations: 0.5635 MB / 349.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.312, allocations: 256 / 349.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005433/0.3126, allocations: 433.1 kB / 349.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.313, allocations: 36.23 kB / 349.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00137/0.3143, allocations: 0.8866 MB / 350.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.3147, allocations: 0.7799 MB / 351.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001088/0.3148, allocations: 18.28 kB / 351.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.3149, allocations: 19.44 kB / 351.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of SimCode: time 3e-07/0.3149, allocations: 0 / 351.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Templates: time 0.009391/0.3243, allocations: 5.228 MB / 356.7 MB, free: 4.547 MB / 286.1 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)