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.001377/0.001377, 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.001617/0.001617, allocations: 194 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.392/1.392, allocations: 205.1 MB / 222 MB, free: 4.758 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.001102/0.001102, allocations: 51.91 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2093, allocations: 46.62 MB / 324.7 MB, free: 1.949 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.00332/0.2126, allocations: 2.749 MB / 327.4 MB, free: 15.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.2144, allocations: 1.186 MB / 328.6 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.2146, allocations: 12 kB / 328.6 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001307/0.2159, allocations: 0.5806 MB / 329.2 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.2161, allocations: 105.3 kB / 329.3 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2173, allocations: 0.6654 MB / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003745/0.2177, allocations: 281 kB / 330.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004166/0.2181, allocations: 239.5 kB / 330.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2183, allocations: 114.4 kB / 330.6 MB, free: 13.49 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.2185, allocations: 168.6 kB / 330.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.71e-05/0.2186, allocations: 20 kB / 330.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.2189, allocations: 172.3 kB / 331 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.23e-05/0.219, allocations: 57.64 kB / 331 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.2191, allocations: 143.3 kB / 331.2 MB, free: 13.17 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.2196, allocations: 485.9 kB / 331.6 MB, free: 12.83 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.2196, allocations: 3.984 kB / 331.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2196, allocations: 0 / 331.6 MB, free: 12.82 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2196, allocations: 3.938 kB / 331.6 MB, free: 12.82 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.001583/0.2212, allocations: 0.7173 MB / 332.4 MB, free: 12.22 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.2213, allocations: 8.781 kB / 332.4 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008148/0.2221, allocations: 117.8 kB / 332.5 MB, free: 12.17 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.2224, allocations: 264 kB / 332.7 MB, free: 11.89 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.099e-05/0.2224, allocations: 25.75 kB / 332.8 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.2225, allocations: 37.86 kB / 332.8 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005249/0.223, allocations: 336.2 kB / 333.1 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2231, allocations: 3.984 kB / 333.1 MB, free: 11.62 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.323e-05/0.2231, allocations: 20 kB / 333.1 MB, free: 11.6 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2231, allocations: 8 kB / 333.2 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003939/0.2235, allocations: 238.5 kB / 333.4 MB, free: 11.36 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001902/0.2254, allocations: 1.443 MB / 334.8 MB, free: 9.773 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000634/0.2261, allocations: 0.6978 MB / 335.5 MB, free: 8.957 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.2262, allocations: 100.8 kB / 335.6 MB, free: 8.855 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.2263, allocations: 93.03 kB / 335.7 MB, free: 8.746 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.033e-05/0.2264, allocations: 34.56 kB / 335.8 MB, free: 8.703 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 2.575e-06/0.2264, allocations: 0 / 335.8 MB, free: 8.703 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001175/0.2276, allocations: 0.4915 MB / 336.2 MB, free: 8.184 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.921e-05/0.2276, allocations: 51.41 kB / 336.3 MB, free: 8.121 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.2278, allocations: 179.3 kB / 336.5 MB, free: 7.934 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.2278, allocations: 29.7 kB / 336.5 MB, free: 7.898 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.155e-05/0.2279, allocations: 172 kB / 336.7 MB, free: 7.723 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.795e-05/0.228, allocations: 90.67 kB / 336.8 MB, free: 7.633 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-05/0.2281, allocations: 61.89 kB / 336.8 MB, free: 7.566 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.2282, allocations: 322.8 kB / 337.1 MB, free: 7.242 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.2283, allocations: 72.53 kB / 337.2 MB, free: 7.172 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001473/0.2285, allocations: 128.1 kB / 337.3 MB, free: 7.023 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.2288, allocations: 224 kB / 337.5 MB, free: 6.781 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2288, allocations: 0 / 337.5 MB, free: 6.781 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005419/0.2293, allocations: 332.5 kB / 337.9 MB, free: 6.449 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.2294, allocations: 8.625 kB / 337.9 MB, free: 6.441 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.2294, allocations: 0 / 337.9 MB, free: 6.441 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002965/0.2297, allocations: 81.02 kB / 338 MB, free: 6.359 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.2298, allocations: 47.92 kB / 338 MB, free: 6.312 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.2316, allocations: 1.823 MB / 339.8 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.2317, allocations: 31.67 kB / 339.9 MB, free: 4.324 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.2318, allocations: 8 kB / 339.9 MB, free: 4.316 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.0001368/0.2319, allocations: 150.2 kB / 340 MB, free: 4.16 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.2319, allocations: 16.09 kB / 340 MB, free: 4.145 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005254/0.2325, allocations: 284.8 kB / 340.3 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2325, allocations: 7.938 kB / 340.3 MB, free: 3.852 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.464e-06/0.2325, allocations: 3.938 kB / 340.3 MB, free: 3.848 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2325, allocations: 7.984 kB / 340.3 MB, free: 3.84 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008989/0.2334, allocations: 0.694 MB / 341 MB, free: 3.086 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2334, allocations: 0 / 341 MB, free: 3.086 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.2336, allocations: 20 kB / 341 MB, free: 3.066 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002408/0.2338, allocations: 76.8 kB / 341.1 MB, free: 2.988 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.2338, allocations: 7.938 kB / 341.1 MB, free: 2.98 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/0.2355, allocations: 1.827 MB / 342.9 MB, free: 1.016 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2355, allocations: 0 / 342.9 MB, free: 1.016 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000613/0.2361, allocations: 447.9 kB / 343.4 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.2362, allocations: 116.8 kB / 343.5 MB, free: 436 kB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.2363, allocations: 4 kB / 343.5 MB, free: 432 kB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.2364, allocations: 11.98 kB / 343.5 MB, free: 420 kB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.2364, allocations: 15.97 kB / 343.5 MB, free: 404 kB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.2364, allocations: 8 kB / 343.5 MB, free: 396 kB / 270.1 MB Notification: Performance of sorting global known variables: time 8.993e-05/0.2365, allocations: 127.2 kB / 343.7 MB, free: 268 kB / 270.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2365, allocations: 288 / 343.7 MB, free: 268 kB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004677/0.237, allocations: 99.73 kB / 343.8 MB, free: 168 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.0001784/0.2372, allocations: 115.2 kB / 343.9 MB, free: 44 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0005721/0.2378, allocations: 362.2 kB / 344.2 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.2378, allocations: 0 / 344.2 MB, free: 15.68 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.2381, allocations: 246.6 kB / 344.5 MB, free: 15.42 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.2384, allocations: 19.84 kB / 344.5 MB, free: 15.4 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.2394, allocations: 0.6854 MB / 345.2 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.2397, allocations: 0.7519 MB / 345.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001076/0.2399, allocations: 25.94 kB / 345.9 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.873e-05/0.2399, allocations: 19.42 kB / 346 MB, free: 13.87 MB / 286.1 MB Notification: Performance of SimCode: time 1.432e-06/0.2399, allocations: 0 / 346 MB, free: 13.87 MB / 286.1 MB Notification: Performance of Templates: time 0.005532/0.2455, allocations: 2.445 MB / 348.4 MB, free: 11.42 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)