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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.001091/0.001091, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.667/1.667, allocations: 205.4 MB / 223.4 MB, free: 5.77 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.0004799/0.0004801, allocations: 12 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2938, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002753/0.2966, allocations: 2.259 MB / 330 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.2983, allocations: 0.8112 MB / 330.8 MB, free: 15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.2985, allocations: 7.906 kB / 330.8 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.2987, allocations: 36.77 kB / 330.8 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.299, allocations: 93.53 kB / 330.9 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.2993, allocations: 67.89 kB / 331 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.2996, allocations: 316.9 kB / 331.3 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.2998, allocations: 84.16 kB / 331.4 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.3, allocations: 116.7 kB / 331.5 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.3002, allocations: 127.9 kB / 331.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.804e-05/0.3003, allocations: 16.16 kB / 331.6 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.451e-05/0.3003, allocations: 23 kB / 331.7 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.022e-05/0.3004, allocations: 52.14 kB / 331.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.102e-05/0.3005, allocations: 76.7 kB / 331.8 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002625/0.3007, allocations: 268 kB / 332.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3008, allocations: 0 / 332.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3008, allocations: 0 / 332.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.3008, allocations: 0 / 332.1 MB, free: 14.15 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.0009508/0.3017, allocations: 0.5546 MB / 332.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.3018, allocations: 8.188 kB / 332.6 MB, free: 13.65 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.062e-05/0.3019, allocations: 36.47 kB / 332.6 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.3022, allocations: 255.4 kB / 332.9 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.3022, allocations: 28.3 kB / 332.9 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.3023, allocations: 24.59 kB / 333 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.3028, allocations: 247 kB / 333.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.3028, allocations: 0 / 333.2 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.3028, allocations: 10.72 kB / 333.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.3029, allocations: 7.469 kB / 333.2 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004694/0.3033, allocations: 223 kB / 333.4 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.305, allocations: 1.009 MB / 334.4 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.3055, allocations: 205.5 kB / 334.6 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.3058, allocations: 109.6 kB / 334.7 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.121e-05/0.3058, allocations: 14.91 kB / 334.8 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.3059, allocations: 36.72 kB / 334.8 MB, free: 12 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 2.064e-06/0.3059, allocations: 0 / 334.8 MB, free: 12 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.005158/0.311, allocations: 1.542 MB / 336.3 MB, free: 10.63 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3111, allocations: 59.41 kB / 336.4 MB, free: 10.56 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.3114, allocations: 229 kB / 336.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.3114, allocations: 33.64 kB / 336.7 MB, free: 10.29 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.3115, allocations: 180.2 kB / 336.8 MB, free: 10.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.3116, allocations: 122.2 kB / 336.9 MB, free: 9.984 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.3117, allocations: 4 kB / 337 MB, free: 9.98 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3118, allocations: 342.8 kB / 337.3 MB, free: 9.637 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.312, allocations: 112.7 kB / 337.4 MB, free: 9.523 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002577/0.3123, allocations: 157.5 kB / 337.5 MB, free: 9.355 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.3126, allocations: 135.7 kB / 337.7 MB, free: 9.223 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3126, allocations: 0 / 337.7 MB, free: 9.223 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001515/0.3141, allocations: 0.5296 MB / 338.2 MB, free: 8.68 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.3142, allocations: 15.94 kB / 338.2 MB, free: 8.664 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.3142, allocations: 0 / 338.2 MB, free: 8.664 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.3156, allocations: 249.4 kB / 338.5 MB, free: 8.414 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002863/0.3159, allocations: 71.89 kB / 338.5 MB, free: 8.344 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004762/0.3206, allocations: 3.744 MB / 342.3 MB, free: 4.328 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.321, allocations: 8.031 kB / 342.3 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.321, allocations: 16.09 kB / 342.3 MB, free: 4.305 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 (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.0002374/0.3213, allocations: 149.7 kB / 342.5 MB, free: 4.148 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.3213, allocations: 27.78 kB / 342.5 MB, free: 4.121 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.3214, allocations: 42.97 kB / 342.5 MB, free: 4.078 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3214, allocations: 4 kB / 342.5 MB, free: 4.074 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.3215, allocations: 7.938 kB / 342.5 MB, free: 4.066 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.3215, allocations: 3.984 kB / 342.5 MB, free: 4.062 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.3235, allocations: 0.9807 MB / 343.5 MB, free: 3.016 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3236, allocations: 0 / 343.5 MB, free: 3.016 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/0.3238, allocations: 47.97 kB / 343.6 MB, free: 2.969 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.3251, allocations: 253.5 kB / 343.8 MB, free: 2.715 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3251, allocations: 8 kB / 343.8 MB, free: 2.707 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004458/0.3296, allocations: 3.732 MB / 347.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3296, allocations: 3.938 kB / 347.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.3314, allocations: 0.7331 MB / 348.3 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.3315, allocations: 105.1 kB / 348.4 MB, free: 13.82 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.3316, allocations: 11.98 kB / 348.4 MB, free: 13.81 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3318, allocations: 8 kB / 348.4 MB, free: 13.8 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-05/0.3319, allocations: 35.95 kB / 348.4 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.3319, allocations: 12 kB / 348.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001609/0.3321, allocations: 164.5 kB / 348.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3321, allocations: 0 / 348.6 MB, free: 13.59 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006104/0.3327, allocations: 100 kB / 348.7 MB, free: 13.5 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 (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.000144/0.3328, allocations: 107.2 kB / 348.8 MB, free: 13.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001048/0.3339, allocations: 0.5788 MB / 349.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3339, allocations: 0 / 349.4 MB, free: 12.77 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005708/0.3345, allocations: 437.4 kB / 349.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003499/0.3349, allocations: 28.44 kB / 349.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.3362, allocations: 0.8435 MB / 350.7 MB, free: 11.42 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.3365, allocations: 0.776 MB / 351.5 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001137/0.3367, allocations: 22.3 kB / 351.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.3367, allocations: 19.42 kB / 351.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3367, allocations: 0 / 351.5 MB, free: 10.57 MB / 286.1 MB Notification: Performance of Templates: time 0.009448/0.3462, allocations: 5.103 MB / 356.6 MB, free: 5.473 MB / 286.1 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)