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.001173/0.001174, 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.00115/0.00115, allocations: 193.2 kB / 16.25 MB, free: 6.625 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.446/1.446, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.00193/0.00193, allocations: 47.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2145, allocations: 46.63 MB / 324.9 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.GeneralLeakage): time 0.003121/0.2176, allocations: 2.752 MB / 327.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.2192, allocations: 1.181 MB / 328.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2193, allocations: 7 kB / 328.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0014/0.2208, allocations: 0.576 MB / 329.4 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002597/0.221, allocations: 119.8 kB / 329.5 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.2223, allocations: 0.6323 MB / 330.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003968/0.2227, allocations: 289 kB / 330.4 MB, free: 13.69 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005392/0.2232, allocations: 303.2 kB / 330.7 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.2234, allocations: 122.7 kB / 330.8 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.2236, allocations: 172.9 kB / 331 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.2237, allocations: 29.34 kB / 331 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003419/0.224, allocations: 171.9 kB / 331.2 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.926e-05/0.2241, allocations: 61.45 kB / 331.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.2242, allocations: 150.5 kB / 331.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005358/0.2247, allocations: 0.4899 MB / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2248, allocations: 0 / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.2248, allocations: 1.188 kB / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2248, allocations: 3.938 kB / 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.001531/0.2263, allocations: 0.7154 MB / 332.6 MB, free: 12.16 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2264, allocations: 9.312 kB / 332.6 MB, free: 12.16 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007988/0.2272, allocations: 114.4 kB / 332.7 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.2275, allocations: 264.1 kB / 333 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.2275, allocations: 25.91 kB / 333 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.302e-05/0.2276, allocations: 33.62 kB / 333 MB, free: 11.81 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005359/0.2281, allocations: 342.2 kB / 333.4 MB, free: 11.47 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.2281, allocations: 4 kB / 333.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.2282, allocations: 8 kB / 333.4 MB, free: 11.46 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.2282, allocations: 8 kB / 333.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/0.2286, allocations: 246.5 kB / 333.6 MB, free: 11.21 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.2304, allocations: 1.443 MB / 335.1 MB, free: 9.621 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006204/0.231, allocations: 0.6965 MB / 335.8 MB, free: 8.805 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.2312, allocations: 104.8 kB / 335.9 MB, free: 8.699 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.885e-05/0.2313, allocations: 89.03 kB / 336 MB, free: 8.594 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.2313, allocations: 30.56 kB / 336 MB, free: 8.555 MB / 270.1 MB Notification: Performance of pre-optimization done (n=24): time 6.201e-06/0.2313, allocations: 7.984 kB / 336 MB, free: 8.547 MB / 270.1 MB Notification: Performance of matching and sorting (n=24): time 0.001145/0.2325, allocations: 499.2 kB / 336.5 MB, free: 8.031 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2325, allocations: 55.41 kB / 336.5 MB, free: 7.965 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2327, allocations: 179.3 kB / 336.7 MB, free: 7.777 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.2327, allocations: 29.7 kB / 336.7 MB, free: 7.742 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.088e-05/0.2328, allocations: 172 kB / 336.9 MB, free: 7.566 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/0.2329, allocations: 90.73 kB / 337 MB, free: 7.477 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.632e-05/0.2329, allocations: 57.89 kB / 337.1 MB, free: 7.414 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2331, allocations: 326.8 kB / 337.4 MB, free: 7.086 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.2332, allocations: 68.53 kB / 337.4 MB, free: 7.02 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.2333, allocations: 128.2 kB / 337.6 MB, free: 6.871 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.2336, allocations: 216.9 kB / 337.8 MB, free: 6.637 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2336, allocations: 4 kB / 337.8 MB, free: 6.633 MB / 270.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005232/0.2341, allocations: 327.5 kB / 338.1 MB, free: 6.305 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.2342, allocations: 6.969 kB / 338.1 MB, free: 6.301 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.912e-06/0.2342, allocations: 4 kB / 338.1 MB, free: 6.297 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/0.2345, allocations: 81.02 kB / 338.2 MB, free: 6.215 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2346, allocations: 43.92 kB / 338.2 MB, free: 6.172 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.2365, allocations: 2.033 MB / 340.3 MB, free: 4 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.2366, allocations: 31.66 kB / 340.3 MB, free: 3.969 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.8e-05/0.2366, allocations: 12 kB / 340.3 MB, free: 3.957 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.0001199/0.2368, allocations: 141.8 kB / 340.5 MB, free: 3.809 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.2368, allocations: 19.75 kB / 340.5 MB, free: 3.789 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.2373, allocations: 288.8 kB / 340.8 MB, free: 3.504 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.2374, allocations: 4 kB / 340.8 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.505e-06/0.2374, allocations: 0 / 340.8 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2374, allocations: 4 kB / 340.8 MB, free: 3.496 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008925/0.2383, allocations: 0.6939 MB / 341.5 MB, free: 2.742 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2383, allocations: 0 / 341.5 MB, free: 2.742 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.2384, allocations: 27.92 kB / 341.5 MB, free: 2.715 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.2386, allocations: 76.81 kB / 341.6 MB, free: 2.637 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.2387, allocations: 4 kB / 341.6 MB, free: 2.633 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001755/0.2404, allocations: 2.033 MB / 343.6 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2404, allocations: 0 / 343.6 MB, free: 468 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005996/0.241, allocations: 451.8 kB / 344 MB, free: 15.99 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.38e-05/0.2411, allocations: 112.8 kB / 344.2 MB, free: 15.87 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.2412, allocations: 8 kB / 344.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.2413, allocations: 4 kB / 344.2 MB, free: 15.86 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.2413, allocations: 19.98 kB / 344.2 MB, free: 15.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2414, allocations: 12.05 kB / 344.2 MB, free: 15.82 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.736e-05/0.2415, allocations: 123.2 kB / 344.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2415, allocations: 0 / 344.3 MB, free: 15.7 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.2419, allocations: 103.6 kB / 344.4 MB, free: 15.6 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.0001822/0.2421, allocations: 115.2 kB / 344.5 MB, free: 15.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005739/0.2427, allocations: 362.2 kB / 344.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2427, allocations: 0 / 344.9 MB, free: 15.11 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003001/0.243, allocations: 238.9 kB / 345.1 MB, free: 14.87 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.2433, allocations: 31.97 kB / 345.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009659/0.2443, allocations: 0.6776 MB / 345.8 MB, free: 14.13 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002854/0.2446, allocations: 0.756 MB / 346.6 MB, free: 13.35 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001075/0.2447, allocations: 29.94 kB / 346.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.2448, allocations: 15.44 kB / 346.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of SimCode: time 1.483e-06/0.2448, allocations: 0 / 346.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of Templates: time 0.00548/0.2503, allocations: 2.548 MB / 349.2 MB, free: 10.75 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)