Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.384/1.384, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001153/0.001153, allocations: 48.34 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.1937, allocations: 46.63 MB / 325.3 MB, free: 1.875 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005721/0.1995, allocations: 5.219 MB / 330.5 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.2023, allocations: 1.714 MB / 332.2 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002244/0.2025, allocations: 17.09 kB / 332.3 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00294/0.2055, allocations: 1.407 MB / 333.7 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006436/0.2061, allocations: 322.8 kB / 334 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.2076, allocations: 0.8066 MB / 334.8 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007713/0.2084, allocations: 0.8065 MB / 335.6 MB, free: 9.605 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.2094, allocations: 0.7627 MB / 336.4 MB, free: 8.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003509/0.2098, allocations: 358.7 kB / 336.7 MB, free: 8.488 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004686/0.2102, allocations: 466.1 kB / 337.2 MB, free: 8.031 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.2104, allocations: 76 kB / 337.2 MB, free: 7.957 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004821/0.2108, allocations: 259.8 kB / 337.5 MB, free: 7.703 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.211, allocations: 175.4 kB / 337.7 MB, free: 7.531 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.2113, allocations: 429.9 kB / 338.1 MB, free: 7.109 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.2124, allocations: 1.168 MB / 339.3 MB, free: 5.938 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2124, allocations: 0 / 339.3 MB, free: 5.938 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2124, allocations: 0 / 339.3 MB, free: 5.938 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.2124, allocations: 7.984 kB / 339.3 MB, free: 5.93 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003719/0.2162, allocations: 1.44 MB / 340.7 MB, free: 4.438 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.2162, allocations: 12.03 kB / 340.7 MB, free: 4.426 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001633/0.2178, allocations: 255.7 kB / 341 MB, free: 4.176 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.2181, allocations: 263.2 kB / 341.2 MB, free: 3.879 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.2181, allocations: 70.38 kB / 341.3 MB, free: 3.812 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.2183, allocations: 100.3 kB / 341.4 MB, free: 3.715 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.2197, allocations: 0.9462 MB / 342.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.2197, allocations: 0 / 342.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.188e-05/0.2198, allocations: 40 kB / 342.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.2198, allocations: 27.94 kB / 342.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2211, allocations: 0.7815 MB / 343.2 MB, free: 1.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004686/0.2258, allocations: 3.381 MB / 346.6 MB, free: 14.34 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.2277, allocations: 1.252 MB / 347.8 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005093/0.2282, allocations: 373.2 kB / 348.2 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.756e-05/0.2283, allocations: 98.08 kB / 348.3 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/0.2284, allocations: 51.5 kB / 348.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 3.316e-06/0.2284, allocations: 0 / 348.3 MB, free: 12.46 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002058/0.2304, allocations: 1.304 MB / 349.6 MB, free: 11.06 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.2305, allocations: 86.11 kB / 349.7 MB, free: 10.96 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.2309, allocations: 360.4 kB / 350.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.2309, allocations: 41.7 kB / 350.1 MB, free: 10.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000213/0.2312, allocations: 382.8 kB / 350.5 MB, free: 10.17 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.2314, allocations: 303.7 kB / 350.8 MB, free: 9.871 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.2316, allocations: 178.7 kB / 351 MB, free: 9.691 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2318, allocations: 358.8 kB / 351.3 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00044/0.2322, allocations: 266.5 kB / 351.6 MB, free: 9.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005768/0.2328, allocations: 471.4 kB / 352 MB, free: 8.535 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001021/0.2338, allocations: 0.7745 MB / 352.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.2338, allocations: 0 / 352.8 MB, free: 7.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001592/0.2354, allocations: 0.9807 MB / 353.8 MB, free: 6.684 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.2354, allocations: 8 kB / 353.8 MB, free: 6.676 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.2355, allocations: 4 kB / 353.8 MB, free: 6.672 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003692/0.2358, allocations: 131.3 kB / 353.9 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007527/0.2366, allocations: 203.7 kB / 354.1 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/0.2407, allocations: 6.122 MB / 360.2 MB, free: 15.65 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.2412, allocations: 106.9 kB / 360.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/0.2413, allocations: 44.06 kB / 360.4 MB, free: 15.5 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.2416, allocations: 233.4 kB / 360.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.2417, allocations: 55.34 kB / 360.7 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001431/0.2432, allocations: 0.8482 MB / 361.5 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.2432, allocations: 8 kB / 361.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.2432, allocations: 0 / 361.5 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.2432, allocations: 11.92 kB / 361.5 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.2459, allocations: 1.925 MB / 363.5 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.2459, allocations: 4.281 kB / 363.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.2465, allocations: 139.8 kB / 363.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/0.2468, allocations: 119.3 kB / 363.7 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.873e-05/0.2468, allocations: 16 kB / 363.7 MB, free: 11.97 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003781/0.2506, allocations: 5.705 MB / 369.4 MB, free: 5.711 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/0.2506, allocations: 11.88 kB / 369.4 MB, free: 5.699 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001765/0.2524, allocations: 1.26 MB / 370.7 MB, free: 4.379 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.2525, allocations: 148.3 kB / 370.9 MB, free: 4.215 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.517e-05/0.2526, allocations: 27.92 kB / 370.9 MB, free: 4.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.253, allocations: 23.94 kB / 370.9 MB, free: 4.164 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.2532, allocations: 56.58 kB / 371 MB, free: 4.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.07e-05/0.2532, allocations: 27.94 kB / 371 MB, free: 4.082 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002909/0.2535, allocations: 259.2 kB / 371.2 MB, free: 3.828 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2535, allocations: 4 kB / 371.2 MB, free: 3.824 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009024/0.2544, allocations: 259.4 kB / 371.5 MB, free: 3.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (78): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002847/0.2547, allocations: 151.1 kB / 371.6 MB, free: 3.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001923/0.2567, allocations: 1.207 MB / 372.9 MB, free: 2.156 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2567, allocations: 3.938 kB / 372.9 MB, free: 2.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000889/0.2576, allocations: 0.789 MB / 373.6 MB, free: 1.312 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.2581, allocations: 69.78 kB / 373.7 MB, free: 1.246 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002405/0.2606, allocations: 1.415 MB / 375.1 MB, free: 15.77 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004871/0.2611, allocations: 0.911 MB / 376 MB, free: 14.83 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005181/0.2616, allocations: 109.1 kB / 376.1 MB, free: 14.72 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.2617, allocations: 55.42 kB / 376.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2617, allocations: 0 / 376.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of Templates: time 0.01341/0.2752, allocations: 7.137 MB / 383.3 MB, free: 7.527 MB / 318.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)