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.001333/0.001333, 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: 193.2 kB / 16.14 MB, free: 6.707 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.418/1.418, allocations: 205.1 MB / 222 MB, free: 4.746 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.001182/0.001183, allocations: 59.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1899/0.1911, allocations: 46.62 MB / 324.7 MB, free: 1.945 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005337/0.1964, allocations: 5.195 MB / 329.9 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.1991, allocations: 1.707 MB / 331.6 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002446/0.1994, allocations: 16.84 kB / 331.6 MB, free: 12.45 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.202, allocations: 1.324 MB / 332.9 MB, free: 11.48 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006003/0.2027, allocations: 269.4 kB / 333.2 MB, free: 11.26 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.2041, allocations: 0.7878 MB / 334 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007705/0.2049, allocations: 0.773 MB / 334.8 MB, free: 10.05 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009886/0.2059, allocations: 0.7045 MB / 335.5 MB, free: 9.34 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003361/0.2063, allocations: 326.7 kB / 335.8 MB, free: 9.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.2067, allocations: 458.1 kB / 336.2 MB, free: 8.57 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/0.2068, allocations: 60 kB / 336.3 MB, free: 8.512 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004726/0.2073, allocations: 235.8 kB / 336.5 MB, free: 8.281 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.2074, allocations: 167.3 kB / 336.7 MB, free: 8.117 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.2077, allocations: 413.8 kB / 337.1 MB, free: 7.711 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009922/0.2087, allocations: 1.156 MB / 338.2 MB, free: 6.551 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2088, allocations: 0 / 338.2 MB, free: 6.551 MB / 270.1 MB Notification: Performance of FrontEnd: time 6.92e-07/0.2088, allocations: 3.938 kB / 338.2 MB, free: 6.547 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.2088, allocations: 0 / 338.2 MB, free: 6.547 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.00384/0.2126, allocations: 1.443 MB / 339.7 MB, free: 5.051 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.2127, allocations: 8.031 kB / 339.7 MB, free: 5.043 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.2143, allocations: 255.7 kB / 339.9 MB, free: 4.793 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.2145, allocations: 255.2 kB / 340.2 MB, free: 4.504 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.2146, allocations: 78.36 kB / 340.3 MB, free: 4.43 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.2147, allocations: 100.3 kB / 340.4 MB, free: 4.332 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.2162, allocations: 0.9501 MB / 341.3 MB, free: 3.367 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.2162, allocations: 7.984 kB / 341.3 MB, free: 3.359 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.831e-05/0.2163, allocations: 40 kB / 341.4 MB, free: 3.32 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.2164, allocations: 24 kB / 341.4 MB, free: 3.297 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.2177, allocations: 0.7814 MB / 342.2 MB, free: 2.52 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00485/0.2225, allocations: 3.373 MB / 345.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001884/0.2244, allocations: 1.263 MB / 346.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.2249, allocations: 373.1 kB / 347.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.2251, allocations: 102.1 kB / 347.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.2251, allocations: 43.56 kB / 347.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 3.005e-06/0.2251, allocations: 0 / 347.3 MB, free: 13.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.002165/0.2273, allocations: 1.304 MB / 348.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.2274, allocations: 94.08 kB / 348.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.2278, allocations: 364.4 kB / 349.1 MB, free: 11.2 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.245e-05/0.2278, allocations: 41.7 kB / 349.1 MB, free: 11.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/0.2281, allocations: 382.8 kB / 349.5 MB, free: 10.77 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002005/0.2283, allocations: 299.7 kB / 349.8 MB, free: 10.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002414/0.2286, allocations: 174.8 kB / 349.9 MB, free: 10.3 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2287, allocations: 354.8 kB / 350.3 MB, free: 9.945 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000435/0.2292, allocations: 274.5 kB / 350.6 MB, free: 9.676 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.2297, allocations: 471.4 kB / 351 MB, free: 9.141 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2307, allocations: 0.7706 MB / 351.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2308, allocations: 0 / 351.8 MB, free: 8.293 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001596/0.2324, allocations: 0.9801 MB / 352.8 MB, free: 7.297 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.2324, allocations: 4.625 kB / 352.8 MB, free: 7.293 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.2324, allocations: 8 kB / 352.8 MB, free: 7.285 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.2328, allocations: 123.4 kB / 352.9 MB, free: 7.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007506/0.2335, allocations: 203.7 kB / 353.1 MB, free: 6.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/0.2375, allocations: 5.578 MB / 358.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005387/0.2381, allocations: 102.9 kB / 358.8 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.227e-05/0.2381, allocations: 48.06 kB / 358.8 MB, free: 0.6836 MB / 286.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.0003078/0.2385, allocations: 230 kB / 359.1 MB, free: 460 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2386, allocations: 55.34 kB / 359.1 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.24, allocations: 0.8482 MB / 360 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.2401, allocations: 8 kB / 360 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.2401, allocations: 3.938 kB / 360 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.2401, allocations: 7.984 kB / 360 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002778/0.2429, allocations: 1.931 MB / 361.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.2429, allocations: 4.281 kB / 361.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/0.2435, allocations: 135.8 kB / 362 MB, free: 13.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/0.2438, allocations: 107.4 kB / 362.1 MB, free: 13.19 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.2438, allocations: 16 kB / 362.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.2472, allocations: 5.31 MB / 367.5 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/0.2473, allocations: 4 kB / 367.5 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001763/0.249, allocations: 1.272 MB / 368.7 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.2492, allocations: 140.3 kB / 368.9 MB, free: 5.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.719e-05/0.2493, allocations: 23.84 kB / 368.9 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/0.2497, allocations: 23.98 kB / 368.9 MB, free: 5.797 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.2498, allocations: 72.52 kB / 369 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.2499, allocations: 24 kB / 369 MB, free: 5.703 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002648/0.2501, allocations: 255.2 kB / 369.3 MB, free: 5.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2501, allocations: 0 / 369.3 MB, free: 5.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009057/0.251, allocations: 256.4 kB / 369.5 MB, free: 5.203 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.0002793/0.2513, allocations: 155 kB / 369.7 MB, free: 5.039 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.2531, allocations: 1.173 MB / 370.8 MB, free: 3.812 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2531, allocations: 0 / 370.8 MB, free: 3.812 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008691/0.254, allocations: 0.7955 MB / 371.6 MB, free: 2.965 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005877/0.2546, allocations: 61.36 kB / 371.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.2573, allocations: 1.769 MB / 373.5 MB, free: 1.082 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005271/0.2578, allocations: 0.9148 MB / 374.4 MB, free: 140 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005281/0.2584, allocations: 105.1 kB / 374.5 MB, free: 32 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.2585, allocations: 55.41 kB / 374.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of SimCode: time 3e-07/0.2585, allocations: 0 / 374.5 MB, free: 15.97 MB / 318.1 MB Notification: Performance of Templates: time 0.01236/0.2709, allocations: 6.853 MB / 381.4 MB, free: 9.117 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)