Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001054/0.001054, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001121/0.001121, allocations: 191.9 kB / 16.25 MB, free: 6.629 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.368/1.368, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.00158/0.00158, allocations: 55.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.203, allocations: 46.62 MB / 324.9 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00312/0.2062, allocations: 2.753 MB / 327.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.2079, allocations: 1.176 MB / 328.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001205/0.2081, allocations: 10.97 kB / 328.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00136/0.2094, allocations: 0.5723 MB / 329.4 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002929/0.2097, allocations: 115.9 kB / 329.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.2109, allocations: 0.6387 MB / 330.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.2113, allocations: 291 kB / 330.4 MB, free: 13.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004565/0.2118, allocations: 306.9 kB / 330.7 MB, free: 13.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.2119, allocations: 122.2 kB / 330.8 MB, free: 13.44 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.2121, allocations: 169 kB / 331 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.926e-05/0.2122, allocations: 25.09 kB / 331 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003148/0.2125, allocations: 175.9 kB / 331.2 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.342e-05/0.2126, allocations: 61.64 kB / 331.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.2127, allocations: 154.6 kB / 331.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005206/0.2132, allocations: 493.4 kB / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2132, allocations: 1.156 kB / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2132, allocations: 3.938 kB / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.2133, allocations: 0 / 331.9 MB, free: 12.76 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.001529/0.2148, allocations: 0.7196 MB / 332.6 MB, free: 12.15 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2148, allocations: 9.5 kB / 332.6 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007774/0.2156, allocations: 114.5 kB / 332.7 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.2159, allocations: 263.9 kB / 333 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.2159, allocations: 25.62 kB / 333 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/0.216, allocations: 29.41 kB / 333 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.2165, allocations: 344.4 kB / 333.4 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2165, allocations: 0 / 333.4 MB, free: 11.48 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.027e-05/0.2166, allocations: 12 kB / 333.4 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2166, allocations: 15.97 kB / 333.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.217, allocations: 238.5 kB / 333.6 MB, free: 11.22 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00185/0.2188, allocations: 1.439 MB / 335.1 MB, free: 9.641 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.2195, allocations: 0.7011 MB / 335.8 MB, free: 8.82 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.2196, allocations: 105 kB / 335.9 MB, free: 8.715 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.2197, allocations: 93.03 kB / 336 MB, free: 8.605 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.2198, allocations: 42.44 kB / 336 MB, free: 8.555 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 1.382e-06/0.2198, allocations: 3.938 kB / 336 MB, free: 8.551 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001132/0.2209, allocations: 491.4 kB / 336.5 MB, free: 8.043 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.2209, allocations: 51.41 kB / 336.5 MB, free: 7.98 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.2211, allocations: 179.3 kB / 336.7 MB, free: 7.793 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.2211, allocations: 33.7 kB / 336.8 MB, free: 7.754 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.211e-05/0.2212, allocations: 172 kB / 336.9 MB, free: 7.578 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.023e-05/0.2213, allocations: 86.73 kB / 337 MB, free: 7.492 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.2214, allocations: 53.89 kB / 337.1 MB, free: 7.434 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.2215, allocations: 330.8 kB / 337.4 MB, free: 7.102 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2216, allocations: 68.53 kB / 337.4 MB, free: 7.035 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001723/0.2218, allocations: 132.1 kB / 337.6 MB, free: 6.883 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/0.2221, allocations: 216.9 kB / 337.8 MB, free: 6.648 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2221, allocations: 0 / 337.8 MB, free: 6.648 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005403/0.2226, allocations: 335.6 kB / 338.1 MB, free: 6.312 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2227, allocations: 10.97 kB / 338.1 MB, free: 6.305 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2227, allocations: 0 / 338.1 MB, free: 6.305 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003156/0.223, allocations: 80.95 kB / 338.2 MB, free: 6.223 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.2232, allocations: 47.92 kB / 338.3 MB, free: 6.176 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.2251, allocations: 2.033 MB / 340.3 MB, free: 4.004 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.2253, allocations: 27.69 kB / 340.3 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.2253, allocations: 8 kB / 340.3 MB, free: 3.969 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.0001588/0.2255, allocations: 141.8 kB / 340.5 MB, free: 3.82 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.2255, allocations: 19.75 kB / 340.5 MB, free: 3.801 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005369/0.2261, allocations: 292.9 kB / 340.8 MB, free: 3.512 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2261, allocations: 4 kB / 340.8 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2261, allocations: 0 / 340.8 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2261, allocations: 0 / 340.8 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009813/0.2271, allocations: 0.694 MB / 341.5 MB, free: 2.754 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2271, allocations: 3.938 kB / 341.5 MB, free: 2.75 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.2272, allocations: 27.98 kB / 341.5 MB, free: 2.723 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002361/0.2275, allocations: 64.81 kB / 341.6 MB, free: 2.656 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.2275, allocations: 8 kB / 341.6 MB, free: 2.648 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.2295, allocations: 2.037 MB / 343.6 MB, free: 480 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2295, allocations: 0 / 343.6 MB, free: 480 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006274/0.2302, allocations: 451.8 kB / 344 MB, free: 8 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.2303, allocations: 108.9 kB / 344.1 MB, free: 15.88 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.852e-05/0.2303, allocations: 11.98 kB / 344.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.2304, allocations: 4 kB / 344.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.2305, allocations: 15.98 kB / 344.2 MB, free: 15.85 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.2305, allocations: 4 kB / 344.2 MB, free: 15.85 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.2306, allocations: 131.2 kB / 344.3 MB, free: 15.72 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2306, allocations: 4.062 kB / 344.3 MB, free: 15.71 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004938/0.2311, allocations: 99.62 kB / 344.4 MB, free: 15.62 MB / 286.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.0001939/0.2313, allocations: 119.2 kB / 344.5 MB, free: 15.49 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006169/0.232, allocations: 362.2 kB / 344.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.232, allocations: 0 / 344.9 MB, free: 15.12 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003154/0.2323, allocations: 242.5 kB / 345.1 MB, free: 14.88 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003716/0.2327, allocations: 16.44 kB / 345.1 MB, free: 14.86 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.2338, allocations: 0.6932 MB / 345.8 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.2342, allocations: 0.756 MB / 346.6 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001072/0.2343, allocations: 21.94 kB / 346.6 MB, free: 13.33 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.612e-05/0.2343, allocations: 19.44 kB / 346.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2343, allocations: 0 / 346.6 MB, free: 13.31 MB / 286.1 MB Notification: Performance of Templates: time 0.005735/0.2401, allocations: 2.547 MB / 349.2 MB, free: 10.76 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage.pipe 2>&1)