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.005391/0.005391, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001211/0.001211, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.424/1.424, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.001136/0.001136, allocations: 49.67 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07701/0.07815, allocations: 46.63 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005594/0.08378, allocations: 5.203 MB / 378.4 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.08619, allocations: 1.721 MB / 380.1 MB, free: 10.35 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.08643, allocations: 19.94 kB / 380.1 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002772/0.08921, allocations: 1.412 MB / 381.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.08982, allocations: 317.6 kB / 381.8 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.09122, allocations: 0.802 MB / 382.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007483/0.09198, allocations: 0.8208 MB / 383.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009532/0.09294, allocations: 0.7613 MB / 384.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003205/0.09327, allocations: 346.7 kB / 384.6 MB, free: 5.852 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004436/0.09372, allocations: 466.1 kB / 385 MB, free: 5.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.509e-05/0.09382, allocations: 76 kB / 385.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.09425, allocations: 263.8 kB / 385.4 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000119/0.09438, allocations: 183.3 kB / 385.5 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.09471, allocations: 421.9 kB / 385.9 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.09578, allocations: 1.184 MB / 387.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.0958, allocations: 4 kB / 387.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.09581, allocations: 0 / 387.1 MB, free: 3.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.09582, 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.003708/0.09953, allocations: 1.436 MB / 388.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.09958, allocations: 16.02 kB / 388.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/0.1012, allocations: 259.6 kB / 388.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.1015, allocations: 263.1 kB / 389.1 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.895e-05/0.1015, allocations: 70.38 kB / 389.2 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1017, allocations: 96.38 kB / 389.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.1031, allocations: 0.9502 MB / 390.2 MB, free: 104 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.1031, allocations: 7.891 kB / 390.2 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.267e-05/0.1032, allocations: 40 kB / 390.3 MB, free: 56 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.1032, allocations: 24 kB / 390.3 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.1045, allocations: 0.777 MB / 391.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004544/0.1091, allocations: 3.349 MB / 394.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001819/0.1109, allocations: 1.263 MB / 395.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.1114, allocations: 377.1 kB / 396 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.535e-05/0.1115, allocations: 98.09 kB / 396.1 MB, free: 9.875 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1116, allocations: 43.56 kB / 396.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.174e-06/0.1116, allocations: 0 / 396.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002087/0.1137, allocations: 1.304 MB / 397.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.1137, allocations: 86.11 kB / 397.6 MB, free: 8.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003896/0.1141, allocations: 372.2 kB / 397.9 MB, free: 7.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.1142, allocations: 45.64 kB / 398 MB, free: 7.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000203/0.1144, allocations: 374.9 kB / 398.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000198/0.1146, allocations: 303.6 kB / 398.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.1148, allocations: 170.9 kB / 398.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.115, allocations: 358.8 kB / 399.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.1154, allocations: 270.5 kB / 399.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/0.116, allocations: 471.5 kB / 399.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.117, allocations: 0.7782 MB / 400.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.117, allocations: 0 / 400.7 MB, free: 5.035 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001604/0.1186, allocations: 0.9768 MB / 401.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.1187, allocations: 13.09 kB / 401.6 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1187, allocations: 4 kB / 401.6 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.1191, allocations: 119.4 kB / 401.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.1198, allocations: 211.7 kB / 402 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004412/0.1243, allocations: 6.129 MB / 408.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.125, allocations: 94.97 kB / 408.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.259e-05/0.1251, allocations: 36 kB / 408.2 MB, free: 12.88 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.0004441/0.1255, allocations: 237.6 kB / 408.5 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.1257, allocations: 51.34 kB / 408.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.1272, allocations: 0.8442 MB / 409.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.1272, allocations: 12 kB / 409.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.1272, allocations: 7.984 kB / 409.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.1272, allocations: 11.86 kB / 409.4 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002809/0.1301, allocations: 1.926 MB / 411.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/0.1301, allocations: 0 / 411.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005641/0.1307, allocations: 135.8 kB / 411.4 MB, free: 9.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/0.131, allocations: 111.6 kB / 411.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.131, allocations: 16 kB / 411.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00374/0.1348, allocations: 5.712 MB / 417.3 MB, free: 3.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.1348, allocations: 4.062 kB / 417.3 MB, free: 3.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.1365, allocations: 1.273 MB / 418.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.1367, allocations: 144.3 kB / 418.7 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-05/0.1368, allocations: 23.88 kB / 418.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.1372, allocations: 24.06 kB / 418.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.1373, allocations: 68.5 kB / 418.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.1373, allocations: 24 kB / 418.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002841/0.1376, allocations: 251.2 kB / 419.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1376, allocations: 0 / 419.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009998/0.1386, allocations: 260.4 kB / 419.3 MB, free: 0.9531 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.0003051/0.1389, allocations: 159 kB / 419.5 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.1408, allocations: 1.17 MB / 420.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.1409, allocations: 0 / 420.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008765/0.1417, allocations: 0.7912 MB / 421.5 MB, free: 14.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.1424, allocations: 66.05 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.002648/0.145, allocations: 1.399 MB / 422.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.1456, allocations: 0.911 MB / 423.8 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004204/0.146, allocations: 105.1 kB / 423.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00015/0.1462, allocations: 55.36 kB / 424 MB, free: 12.11 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1462, allocations: 0 / 424 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01287/0.1591, allocations: 7.229 MB / 431.2 MB, free: 4.863 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)