Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001499/0.0015, allocations: 111.6 kB / 16.63 MB, free: 6.941 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.001604/0.001604, allocations: 197.8 kB / 17.55 MB, free: 6.039 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.44/1.44, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.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.001105/0.001105, allocations: 47.92 kB / 279.5 MB, free: 3.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08303/0.08415, allocations: 46.63 MB / 326.2 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.005788/0.08996, allocations: 5.187 MB / 331.3 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.09274, allocations: 1.702 MB / 333 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002732/0.09306, allocations: 16 kB / 333.1 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.09586, allocations: 1.335 MB / 334.4 MB, free: 12.48 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.09662, allocations: 274.3 kB / 334.7 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.09801, allocations: 0.7516 MB / 335.4 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007931/0.09882, allocations: 0.8053 MB / 336.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.1, allocations: 0.8822 MB / 337.1 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003728/0.1004, allocations: 354.6 kB / 337.4 MB, free: 9.414 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000436/0.1008, allocations: 470.1 kB / 337.9 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.1009, allocations: 76 kB / 338 MB, free: 8.879 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000484/0.1014, allocations: 251.8 kB / 338.2 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1016, allocations: 179.4 kB / 338.4 MB, free: 8.457 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003186/0.1019, allocations: 425.9 kB / 338.8 MB, free: 8.039 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001052/0.103, allocations: 1.176 MB / 340 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.207e-06/0.103, allocations: 0 / 340 MB, free: 6.859 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.103, allocations: 0 / 340 MB, free: 6.859 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.103, allocations: 0 / 340 MB, free: 6.859 MB / 286.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.003722/0.1067, allocations: 1.443 MB / 341.4 MB, free: 5.363 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1068, allocations: 8.031 kB / 341.4 MB, free: 5.355 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.1084, allocations: 255.7 kB / 341.7 MB, free: 5.105 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1088, allocations: 259.2 kB / 341.9 MB, free: 4.812 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.291e-05/0.1089, allocations: 74.38 kB / 342 MB, free: 4.742 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.109, allocations: 100.3 kB / 342.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.1107, allocations: 0.9461 MB / 343.1 MB, free: 3.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.756e-05/0.1107, allocations: 4 kB / 343.1 MB, free: 3.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.204e-05/0.1108, allocations: 47.92 kB / 343.1 MB, free: 3.633 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.1108, allocations: 24 kB / 343.1 MB, free: 3.609 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.1121, allocations: 0.7807 MB / 343.9 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/0.1168, allocations: 3.384 MB / 347.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.1186, allocations: 1.259 MB / 348.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.1191, allocations: 377 kB / 348.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.1193, allocations: 98.09 kB / 349 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.1193, allocations: 43.56 kB / 349.1 MB, free: 13.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 3.276e-06/0.1193, allocations: 4 kB / 349.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002028/0.1213, allocations: 1.3 MB / 350.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1214, allocations: 86.11 kB / 350.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.1218, allocations: 368.2 kB / 350.8 MB, free: 11.5 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.1219, allocations: 41.7 kB / 350.9 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002174/0.1221, allocations: 382.8 kB / 351.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001939/0.1223, allocations: 299.7 kB / 351.5 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002389/0.1225, allocations: 178.8 kB / 351.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1227, allocations: 358.8 kB / 352 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004179/0.1231, allocations: 266.5 kB / 352.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005542/0.1237, allocations: 471.5 kB / 352.8 MB, free: 9.441 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009815/0.1247, allocations: 0.7744 MB / 353.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1247, allocations: 0 / 353.5 MB, free: 8.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001541/0.1262, allocations: 0.9807 MB / 354.5 MB, free: 7.59 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.1262, allocations: 8 kB / 354.5 MB, free: 7.582 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.1263, allocations: 4 kB / 354.5 MB, free: 7.578 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003646/0.1266, allocations: 123.4 kB / 354.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007542/0.1274, allocations: 203.7 kB / 354.9 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004067/0.1315, allocations: 6.129 MB / 361 MB, free: 0.5547 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006098/0.1321, allocations: 102.8 kB / 361.1 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/0.1322, allocations: 36 kB / 361.1 MB, free: 428 kB / 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.0003114/0.1325, allocations: 237.5 kB / 361.3 MB, free: 180 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001136/0.1326, allocations: 47.44 kB / 361.4 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/0.134, allocations: 0.852 MB / 362.2 MB, free: 15.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/0.134, allocations: 12 kB / 362.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.1341, allocations: 0 / 362.3 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.1341, allocations: 7.922 kB / 362.3 MB, free: 15.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.1367, allocations: 1.931 MB / 364.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/0.1367, allocations: 4 kB / 364.2 MB, free: 13.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005562/0.1373, allocations: 132.1 kB / 364.3 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002968/0.1376, allocations: 123.3 kB / 364.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.21e-05/0.1377, allocations: 16 kB / 364.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003603/0.1413, allocations: 5.712 MB / 370.2 MB, free: 6.621 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.1413, allocations: 11.86 kB / 370.2 MB, free: 6.609 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.143, allocations: 1.268 MB / 371.5 MB, free: 5.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.1432, allocations: 140.4 kB / 371.6 MB, free: 5.129 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.1433, allocations: 27.94 kB / 371.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003883/0.1437, allocations: 20 kB / 371.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.1438, allocations: 60.52 kB / 371.7 MB, free: 5.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.1438, allocations: 27.98 kB / 371.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002744/0.1441, allocations: 255.2 kB / 372 MB, free: 4.738 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1441, allocations: 0 / 372 MB, free: 4.738 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008923/0.145, allocations: 263.3 kB / 372.2 MB, free: 4.48 MB / 318.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.0002363/0.1453, allocations: 152.1 kB / 372.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.1471, allocations: 1.2 MB / 373.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1472, allocations: 0 / 373.6 MB, free: 3.074 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008034/0.148, allocations: 0.7966 MB / 374.4 MB, free: 2.227 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.1485, allocations: 65.31 kB / 374.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002443/0.151, allocations: 1.766 MB / 376.2 MB, free: 348 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1347/0.2857, allocations: 0.907 MB / 377.1 MB, free: 51.55 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006072/0.2864, allocations: 105.5 kB / 377.2 MB, free: 51.55 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.2865, allocations: 52.77 kB / 377.3 MB, free: 51.54 MB / 318.1 MB Notification: Performance of SimCode: time 8.01e-07/0.2865, allocations: 2.531 kB / 377.3 MB, free: 51.54 MB / 318.1 MB Notification: Performance of Templates: time 0.01295/0.2995, allocations: 7.165 MB / 384.4 MB, free: 50.57 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1)