Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.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.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001108/0.001108, allocations: 197.2 kB / 16.14 MB, free: 6.66 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.429/1.429, allocations: 205.1 MB / 222 MB, free: 4.957 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.001368/0.001368, allocations: 56.39 kB / 278.1 MB, free: 12.97 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2702, allocations: 46.62 MB / 324.7 MB, free: 1.855 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00383/0.2741, allocations: 2.743 MB / 327.4 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.276, allocations: 1.184 MB / 328.6 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.2762, allocations: 5.812 kB / 328.6 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001386/0.2775, allocations: 0.5857 MB / 329.2 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.2778, allocations: 108.9 kB / 329.3 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001312/0.2792, allocations: 0.6619 MB / 330 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004017/0.2796, allocations: 282.5 kB / 330.3 MB, free: 13.6 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.28, allocations: 241.9 kB / 330.5 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.2802, allocations: 122 kB / 330.6 MB, free: 13.39 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002049/0.2804, allocations: 157.4 kB / 330.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.269e-05/0.2805, allocations: 20.47 kB / 330.8 MB, free: 13.3 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003469/0.2808, allocations: 176 kB / 331 MB, free: 13.22 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.182e-05/0.2809, allocations: 49.47 kB / 331 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001846/0.2811, allocations: 147.4 kB / 331.1 MB, free: 13.08 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005933/0.2817, allocations: 489.5 kB / 331.6 MB, free: 12.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2817, allocations: 0 / 331.6 MB, free: 12.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2817, allocations: 4 kB / 331.6 MB, free: 12.73 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2817, allocations: 0 / 331.6 MB, free: 12.73 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001706/0.2834, allocations: 0.7167 MB / 332.3 MB, free: 12.13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2835, allocations: 13.38 kB / 332.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008168/0.2843, allocations: 130.7 kB / 332.5 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.2846, allocations: 259.8 kB / 332.7 MB, free: 11.8 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.2847, allocations: 21.44 kB / 332.8 MB, free: 11.79 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.474e-05/0.2847, allocations: 37.7 kB / 332.8 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005596/0.2853, allocations: 330.5 kB / 333.1 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.2853, allocations: 0 / 333.1 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.2854, allocations: 15.47 kB / 333.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.2854, allocations: 12.16 kB / 333.1 MB, free: 11.55 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004382/0.2858, allocations: 239.6 kB / 333.4 MB, free: 11.4 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001946/0.2878, allocations: 1.439 MB / 334.8 MB, free: 9.816 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007069/0.2885, allocations: 0.7056 MB / 335.5 MB, free: 8.992 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.2887, allocations: 104.8 kB / 335.6 MB, free: 8.887 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001073/0.2888, allocations: 89.05 kB / 335.7 MB, free: 8.781 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.2888, allocations: 34.56 kB / 335.8 MB, free: 8.738 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.222e-06/0.2888, allocations: 0 / 335.8 MB, free: 8.738 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001206/0.2901, allocations: 495.3 kB / 336.2 MB, free: 8.227 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.2901, allocations: 55.34 kB / 336.3 MB, free: 8.16 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.2903, allocations: 179.3 kB / 336.5 MB, free: 7.973 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.284e-05/0.2903, allocations: 33.7 kB / 336.5 MB, free: 7.934 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2904, allocations: 172 kB / 336.7 MB, free: 7.758 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.684e-05/0.2905, allocations: 94.67 kB / 336.8 MB, free: 7.664 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.111e-05/0.2906, allocations: 53.89 kB / 336.8 MB, free: 7.605 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2907, allocations: 326.8 kB / 337.1 MB, free: 7.277 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.2908, allocations: 64.55 kB / 337.2 MB, free: 7.215 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.291, allocations: 136.1 kB / 337.3 MB, free: 7.059 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002832/0.2913, allocations: 224 kB / 337.5 MB, free: 6.816 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2913, allocations: 0 / 337.5 MB, free: 6.816 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005335/0.2918, allocations: 336.6 kB / 337.9 MB, free: 6.48 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.2919, allocations: 8 kB / 337.9 MB, free: 6.473 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.2919, allocations: 0 / 337.9 MB, free: 6.473 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.2922, allocations: 72.81 kB / 338 MB, free: 6.398 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.2923, allocations: 43.92 kB / 338 MB, free: 6.355 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/0.2942, allocations: 1.827 MB / 339.8 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.2943, allocations: 27.72 kB / 339.8 MB, free: 4.367 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.2944, allocations: 12 kB / 339.9 MB, free: 4.355 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000149/0.2945, allocations: 146.2 kB / 340 MB, free: 4.203 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.2946, allocations: 20.08 kB / 340 MB, free: 4.184 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005502/0.2951, allocations: 288.8 kB / 340.3 MB, free: 3.895 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.2951, allocations: 7.938 kB / 340.3 MB, free: 3.887 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2951, allocations: 3.938 kB / 340.3 MB, free: 3.883 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2952, allocations: 4 kB / 340.3 MB, free: 3.879 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008994/0.2961, allocations: 0.69 MB / 341 MB, free: 3.129 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2961, allocations: 4 kB / 341 MB, free: 3.125 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.2962, allocations: 23.98 kB / 341 MB, free: 3.102 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002315/0.2964, allocations: 76.75 kB / 341.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.2965, allocations: 4 kB / 341.1 MB, free: 3.02 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.2982, allocations: 1.835 MB / 342.9 MB, free: 1.047 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2982, allocations: 3.938 kB / 343 MB, free: 1.043 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.2989, allocations: 435.9 kB / 343.4 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.376e-05/0.299, allocations: 124.8 kB / 343.5 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.299, allocations: 8 kB / 343.5 MB, free: 460 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.2991, allocations: 128 / 343.5 MB, free: 460 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2992, allocations: 23.97 kB / 343.5 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.2992, allocations: 4 kB / 343.5 MB, free: 432 kB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001019/0.2993, allocations: 127.2 kB / 343.7 MB, free: 304 kB / 270.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.2993, allocations: 288 / 343.7 MB, free: 304 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004986/0.2998, allocations: 95.69 kB / 343.8 MB, free: 208 kB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (constantSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002212/0.3, allocations: 127.2 kB / 343.9 MB, free: 72 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0006209/0.3007, allocations: 358.1 kB / 344.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3007, allocations: 0 / 344.2 MB, free: 15.71 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000326/0.301, allocations: 243.1 kB / 344.5 MB, free: 15.46 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.3014, allocations: 19.84 kB / 344.5 MB, free: 15.44 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.3026, allocations: 0.6967 MB / 345.2 MB, free: 14.71 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.303, allocations: 0.7596 MB / 345.9 MB, free: 13.93 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.3031, allocations: 21.95 kB / 346 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.305e-05/0.3031, allocations: 15.44 kB / 346 MB, free: 13.89 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3031, allocations: 0 / 346 MB, free: 13.89 MB / 286.1 MB Notification: Performance of Templates: time 0.006587/0.3097, allocations: 2.442 MB / 348.4 MB, free: 11.45 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)