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.008427/0.008427, allocations: 100.8 kB / 15.73 MB, free: 6.027 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.001666/0.001666, allocations: 183.5 kB / 16.67 MB, free: 5.965 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.474/1.474, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001268/0.001268, allocations: 55.41 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08281/0.08409, allocations: 46.63 MB / 373.2 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.006305/0.09043, allocations: 5.207 MB / 378.4 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003219/0.09368, allocations: 1.721 MB / 380.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004578/0.09422, allocations: 16 kB / 380.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003085/0.09732, allocations: 1.412 MB / 381.5 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009616/0.09829, allocations: 321.7 kB / 381.9 MB, free: 8.605 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00173/0.1, allocations: 0.8058 MB / 382.7 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.1011, allocations: 0.8092 MB / 383.5 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.1022, allocations: 0.7652 MB / 384.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004385/0.1026, allocations: 354.7 kB / 384.6 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005013/0.1032, allocations: 466.1 kB / 385 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.142e-05/0.1033, allocations: 76 kB / 385.1 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005762/0.1038, allocations: 259.8 kB / 385.4 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.104, allocations: 175.3 kB / 385.5 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003667/0.1044, allocations: 425.9 kB / 385.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001223/0.1056, allocations: 1.191 MB / 387.1 MB, free: 3.285 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1056, allocations: 3.938 kB / 387.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1056, allocations: 0 / 387.1 MB, free: 3.281 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.1056, allocations: 4 kB / 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.003862/0.1095, allocations: 1.432 MB / 388.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.1096, allocations: 19.97 kB / 388.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00166/0.1112, allocations: 251.7 kB / 388.8 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.1114, allocations: 267.1 kB / 389.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.1115, allocations: 66.38 kB / 389.2 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.1116, allocations: 96.38 kB / 389.3 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.1131, allocations: 0.9425 MB / 390.2 MB, free: 120 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.392e-05/0.1131, allocations: 3.906 kB / 390.2 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.113e-05/0.1132, allocations: 40 kB / 390.2 MB, free: 76 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.28e-05/0.1133, allocations: 24 kB / 390.3 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.1145, allocations: 0.7847 MB / 391.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004786/0.1193, allocations: 3.357 MB / 394.4 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.1212, allocations: 1.252 MB / 395.7 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.1218, allocations: 373.1 kB / 396 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.1219, allocations: 106.1 kB / 396.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.1219, allocations: 47.5 kB / 396.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of pre-optimization done (n=87): time 2.605e-06/0.1219, allocations: 0 / 396.2 MB, free: 9.832 MB / 334.1 MB Notification: Performance of matching and sorting (n=87): time 0.002208/0.1242, allocations: 1.296 MB / 397.5 MB, free: 8.449 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/0.1242, allocations: 86.11 kB / 397.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.1247, allocations: 376.3 kB / 397.9 MB, free: 7.969 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.1247, allocations: 37.7 kB / 398 MB, free: 7.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.1249, allocations: 382.9 kB / 398.3 MB, free: 7.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.1252, allocations: 303.6 kB / 398.6 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002387/0.1255, allocations: 170.9 kB / 398.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.1257, allocations: 358.8 kB / 399.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004412/0.1261, allocations: 266.5 kB / 399.4 MB, free: 6.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.1267, allocations: 487.3 kB / 399.9 MB, free: 5.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.1278, allocations: 0.7706 MB / 400.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1278, allocations: 0 / 400.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001754/0.1296, allocations: 0.9766 MB / 401.6 MB, free: 4.051 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1296, allocations: 8 kB / 401.6 MB, free: 4.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.1296, allocations: 4 kB / 401.6 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/0.13, allocations: 131.6 kB / 401.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007611/0.1308, allocations: 203.7 kB / 402 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004621/0.1354, allocations: 6.118 MB / 408.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006883/0.1361, allocations: 98.95 kB / 408.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.1362, allocations: 40 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.0003835/0.1366, allocations: 237.5 kB / 408.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.1367, allocations: 55.34 kB / 408.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.1382, allocations: 0.8442 MB / 409.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1382, allocations: 12 kB / 409.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1382, allocations: 0 / 409.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.1382, allocations: 7.922 kB / 409.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00275/0.141, allocations: 1.926 MB / 411.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.141, allocations: 288 / 411.3 MB, free: 9.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.1415, allocations: 143.8 kB / 411.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002693/0.1418, allocations: 111.3 kB / 411.6 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.1419, allocations: 20 kB / 411.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004057/0.1459, allocations: 5.701 MB / 417.3 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.1459, allocations: 3.938 kB / 417.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.1477, allocations: 1.281 MB / 418.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001347/0.1479, allocations: 144.3 kB / 418.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.738e-05/0.148, allocations: 27.88 kB / 418.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.1483, allocations: 20 kB / 418.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.866e-05/0.1485, allocations: 56.58 kB / 418.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.091e-05/0.1485, allocations: 28.06 kB / 418.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.1488, allocations: 259.1 kB / 419.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1488, allocations: 0 / 419.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009063/0.1497, allocations: 256.4 kB / 419.3 MB, free: 0.9688 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.0002415/0.15, allocations: 155 kB / 419.5 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001636/0.1516, allocations: 1.176 MB / 420.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.1516, allocations: 3.938 kB / 420.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008334/0.1524, allocations: 0.7933 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.0006664/0.1531, allocations: 69.59 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.00238/0.1555, 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.0004558/0.156, allocations: 0.9071 MB / 423.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000429/0.1564, allocations: 113.1 kB / 423.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1566, allocations: 43.44 kB / 424 MB, free: 12.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1566, allocations: 4 kB / 424 MB, free: 12.11 MB / 366.1 MB Notification: Performance of Templates: time 0.01271/0.1693, allocations: 7.233 MB / 431.2 MB, free: 4.867 MB / 366.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)