Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001301/0.001301, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001266/0.001266, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004409/0.000441, allocations: 16 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.2037, allocations: 47.58 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.004087/0.2079, allocations: 4.126 MB / 330.6 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.2104, allocations: 1.588 MB / 332.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.2107, allocations: 17.5 kB / 332.2 MB, free: 12.94 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004768/0.2112, allocations: 202.2 kB / 332.4 MB, free: 12.79 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006258/0.2118, allocations: 289.1 kB / 332.7 MB, free: 12.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.2131, allocations: 0.6618 MB / 333.3 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000778/0.2139, allocations: 0.5596 MB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002253/0.2162, allocations: 1.319 MB / 335.2 MB, free: 10.72 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003939/0.2166, allocations: 286.9 kB / 335.5 MB, free: 10.44 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004096/0.217, allocations: 366.5 kB / 335.8 MB, free: 10.08 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.953e-05/0.2171, allocations: 32 kB / 335.9 MB, free: 10.05 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005032/0.2176, allocations: 199.8 kB / 336.1 MB, free: 9.855 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.2177, allocations: 127.4 kB / 336.2 MB, free: 9.73 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.2179, allocations: 165.3 kB / 336.4 MB, free: 9.562 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008134/0.2187, allocations: 0.8971 MB / 337.3 MB, free: 8.664 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2187, allocations: 0 / 337.3 MB, free: 8.664 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2187, allocations: 0 / 337.3 MB, free: 8.664 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.2187, allocations: 0 / 337.3 MB, free: 8.664 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.00337/0.2221, allocations: 1.291 MB / 338.5 MB, free: 7.32 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.2221, allocations: 8.031 kB / 338.6 MB, free: 7.312 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/0.2237, allocations: 254.8 kB / 338.8 MB, free: 7.062 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.2239, allocations: 257.9 kB / 339.1 MB, free: 6.77 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.257e-05/0.224, allocations: 74 kB / 339.1 MB, free: 6.699 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.2241, allocations: 103.9 kB / 339.2 MB, free: 6.598 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.2255, allocations: 0.9341 MB / 340.2 MB, free: 5.648 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.2255, allocations: 0 / 340.2 MB, free: 5.648 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.588e-05/0.2256, allocations: 40 kB / 340.2 MB, free: 5.609 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.2256, allocations: 27.94 kB / 340.2 MB, free: 5.582 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.2268, allocations: 0.773 MB / 341 MB, free: 4.812 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004624/0.2315, allocations: 3.389 MB / 344.4 MB, free: 1.238 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.2333, allocations: 1.248 MB / 345.6 MB, free: 15.9 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.383e-05/0.2334, allocations: 98.09 kB / 345.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.2334, allocations: 47.55 kB / 345.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=87): time 2.725e-06/0.2334, allocations: 4 kB / 345.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=87): time 0.001936/0.2354, allocations: 1.292 MB / 347.1 MB, free: 14.35 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.2354, allocations: 98.05 kB / 347.2 MB, free: 14.24 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/0.2358, allocations: 360.3 kB / 347.5 MB, free: 13.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.2358, allocations: 41.7 kB / 347.6 MB, free: 13.83 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000191/0.236, allocations: 374.9 kB / 347.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.2362, allocations: 303.6 kB / 348.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.2363, allocations: 20 kB / 348.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2364, allocations: 366.8 kB / 348.6 MB, free: 12.77 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.2368, allocations: 262.5 kB / 348.9 MB, free: 12.51 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005409/0.2374, allocations: 459.5 kB / 349.3 MB, free: 11.99 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.2379, allocations: 342.9 kB / 349.6 MB, free: 11.65 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/0.2379, allocations: 4 kB / 349.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001464/0.2394, allocations: 0.9607 MB / 350.6 MB, free: 10.67 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.2394, allocations: 11.94 kB / 350.6 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.2394, allocations: 4.531 kB / 350.6 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/0.2398, allocations: 123.4 kB / 350.7 MB, free: 10.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.2408, allocations: 203.7 kB / 350.9 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/0.2446, allocations: 5.602 MB / 356.6 MB, free: 4.176 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005997/0.2452, allocations: 102.9 kB / 356.7 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.2453, allocations: 40.12 kB / 356.7 MB, free: 4.035 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003232/0.2456, allocations: 229.6 kB / 356.9 MB, free: 3.801 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.2457, allocations: 55.34 kB / 357 MB, free: 3.746 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.247, allocations: 0.8519 MB / 357.8 MB, free: 2.879 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.2471, allocations: 8 kB / 357.8 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2471, allocations: 0 / 357.8 MB, free: 2.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.2471, allocations: 11.97 kB / 357.8 MB, free: 2.859 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/0.2497, allocations: 1.916 MB / 359.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.2497, allocations: 288 / 359.8 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005448/0.2503, allocations: 143.8 kB / 359.9 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003008/0.2506, allocations: 103.4 kB / 360 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.2507, allocations: 20 kB / 360 MB, free: 0.5312 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003503/0.2542, allocations: 5.334 MB / 365.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2542, allocations: 7.938 kB / 365.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/0.2561, allocations: 1.382 MB / 366.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.2563, allocations: 144.3 kB / 366.9 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.2564, allocations: 16 kB / 366.9 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003998/0.2568, allocations: 19.95 kB / 366.9 MB, free: 8.969 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.2569, allocations: 68.58 kB / 367 MB, free: 8.902 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/0.2569, allocations: 27.98 kB / 367 MB, free: 8.875 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002636/0.2572, allocations: 247.2 kB / 367.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2572, allocations: 0 / 367.3 MB, free: 8.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001046/0.2583, allocations: 268.3 kB / 367.5 MB, free: 8.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000231/0.2585, allocations: 151 kB / 367.7 MB, free: 8.211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.26, allocations: 1.169 MB / 368.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.26, allocations: 0 / 368.8 MB, free: 6.992 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007911/0.2608, allocations: 0.7955 MB / 369.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.2611, allocations: 45.33 kB / 369.7 MB, free: 6.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002302/0.2635, allocations: 1.711 MB / 371.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.2639, allocations: 0.9324 MB / 372.3 MB, free: 3.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005078/0.2644, allocations: 101.1 kB / 372.4 MB, free: 3.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.2646, allocations: 55.42 kB / 372.5 MB, free: 3.215 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2646, allocations: 3.938 kB / 372.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of Templates: time 0.01438/0.279, allocations: 6.583 MB / 379.1 MB, free: 12.61 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) Environment - environmentSimulation: