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.00901/0.009011, allocations: 108.8 kB / 15.74 MB, free: 6.441 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.00207/0.00207, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.467/1.467, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.001132/0.001132, allocations: 53.77 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08645, allocations: 46.62 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006068/0.09255, allocations: 5.215 MB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.0954, allocations: 1.717 MB / 380.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004464/0.09588, allocations: 16 kB / 380.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003012/0.0989, allocations: 1.416 MB / 381.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009472/0.09986, allocations: 321.6 kB / 381.9 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001607/0.1015, allocations: 0.8097 MB / 382.7 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009703/0.1025, allocations: 0.813 MB / 383.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.1036, allocations: 0.7613 MB / 384.2 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.104, allocations: 350.7 kB / 384.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00052/0.1045, allocations: 470.1 kB / 385 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001084/0.1046, allocations: 76 kB / 385.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004814/0.1051, allocations: 255.8 kB / 385.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1053, allocations: 179.3 kB / 385.5 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004009/0.1057, allocations: 429.9 kB / 386 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.1069, allocations: 1.191 MB / 387.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1069, allocations: 0 / 387.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1069, allocations: 0 / 387.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.1069, allocations: 0 / 387.1 MB, free: 3.277 MB / 318.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.004191/0.1111, allocations: 1.436 MB / 388.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.1112, allocations: 12.03 kB / 388.6 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001716/0.1129, allocations: 255.6 kB / 388.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.1131, allocations: 263.1 kB / 389.1 MB, free: 1.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.1132, allocations: 74.38 kB / 389.2 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.1134, allocations: 92.38 kB / 389.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001681/0.1151, allocations: 0.9541 MB / 390.2 MB, free: 108 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/0.1151, allocations: 3.906 kB / 390.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/0.1152, allocations: 43.94 kB / 390.3 MB, free: 60 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/0.1152, allocations: 24 kB / 390.3 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.1167, allocations: 0.777 MB / 391.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005066/0.1218, allocations: 3.349 MB / 394.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.1237, allocations: 1.259 MB / 395.7 MB, free: 10.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005249/0.1242, allocations: 373.1 kB / 396 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.1243, allocations: 110 kB / 396.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.1244, allocations: 39.56 kB / 396.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.735e-06/0.1244, allocations: 0 / 396.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002151/0.1266, allocations: 1.3 MB / 397.5 MB, free: 8.441 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.1266, allocations: 90.09 kB / 397.6 MB, free: 8.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004329/0.1271, allocations: 368.2 kB / 397.9 MB, free: 7.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.536e-05/0.1271, allocations: 41.7 kB / 398 MB, free: 7.918 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000236/0.1274, allocations: 378.9 kB / 398.3 MB, free: 7.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.1276, allocations: 303.6 kB / 398.6 MB, free: 7.238 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002486/0.1279, allocations: 174.9 kB / 398.8 MB, free: 7.059 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1281, allocations: 358.8 kB / 399.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004739/0.1285, allocations: 274.5 kB / 399.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000602/0.1292, allocations: 471.5 kB / 399.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001136/0.1303, allocations: 0.7782 MB / 400.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.1303, allocations: 0 / 400.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00166/0.132, allocations: 0.973 MB / 401.6 MB, free: 4.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.132, allocations: 11.98 kB / 401.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.132, allocations: 8 kB / 401.7 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003913/0.1324, allocations: 123.3 kB / 401.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.1332, allocations: 199.7 kB / 402 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004212/0.1375, allocations: 6.122 MB / 408.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005597/0.138, allocations: 94.97 kB / 408.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.375e-05/0.1381, allocations: 43.98 kB / 408.2 MB, free: 12.89 MB / 350.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.0002876/0.1384, allocations: 233.5 kB / 408.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.1385, allocations: 55.34 kB / 408.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001453/0.14, allocations: 0.8521 MB / 409.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.14, allocations: 8 kB / 409.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.14, allocations: 0 / 409.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.14, allocations: 11.92 kB / 409.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002746/0.1428, allocations: 1.926 MB / 411.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.1428, allocations: 0 / 411.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005677/0.1434, allocations: 139.8 kB / 411.4 MB, free: 9.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.1437, allocations: 115.6 kB / 411.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-05/0.1437, allocations: 16 kB / 411.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/0.1474, allocations: 5.705 MB / 417.3 MB, free: 3.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.1474, allocations: 7.875 kB / 417.3 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.1492, allocations: 1.273 MB / 418.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/0.1494, allocations: 144.3 kB / 418.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.595e-05/0.1495, allocations: 31.86 kB / 418.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003973/0.1499, allocations: 16 kB / 418.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.15, allocations: 68.58 kB / 418.8 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.1501, allocations: 24 kB / 418.8 MB, free: 1.457 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000267/0.1503, allocations: 255.2 kB / 419.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1503, allocations: 0 / 419.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008667/0.1512, allocations: 256.4 kB / 419.3 MB, free: 0.9609 MB / 350.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.0002571/0.1515, allocations: 155.2 kB / 419.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.1531, allocations: 1.177 MB / 420.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1531, allocations: 448 / 420.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008486/0.154, allocations: 0.7951 MB / 421.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.1545, allocations: 61.36 kB / 421.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/0.157, allocations: 1.392 MB / 422.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.1575, allocations: 0.9149 MB / 423.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004444/0.158, allocations: 109.1 kB / 423.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.1581, allocations: 51.44 kB / 424 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1581, allocations: 0 / 424 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.0135/0.1716, allocations: 7.225 MB / 431.2 MB, free: 4.875 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (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)