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.001456/0.001456, allocations: 98.84 kB / 16.5 MB, free: 6.641 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.00137/0.00137, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.38/1.38, allocations: 205.1 MB / 223.3 MB, free: 12.38 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.001125/0.001125, allocations: 43.94 kB / 279.3 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08354/0.08467, allocations: 46.63 MB / 326 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage): time 0.00585/0.09057, allocations: 5.183 MB / 331.2 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003119/0.09372, allocations: 1.718 MB / 332.9 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000304/0.09409, allocations: 16 kB / 332.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.09678, allocations: 1.335 MB / 334.2 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007471/0.09754, allocations: 258.3 kB / 334.5 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.09908, allocations: 0.779 MB / 335.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009055/0.09999, allocations: 0.7818 MB / 336 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.1011, allocations: 0.7073 MB / 336.7 MB, free: 10.03 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003981/0.1015, allocations: 334.7 kB / 337.1 MB, free: 9.703 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004352/0.1019, allocations: 454.1 kB / 337.5 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.163e-05/0.102, allocations: 56 kB / 337.6 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000543/0.1026, allocations: 239.8 kB / 337.8 MB, free: 8.969 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.1027, allocations: 159.4 kB / 338 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003168/0.103, allocations: 413.8 kB / 338.4 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000988/0.104, allocations: 1.152 MB / 339.5 MB, free: 7.25 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.104, allocations: 4 kB / 339.5 MB, free: 7.246 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.51e-07/0.104, allocations: 0 / 339.5 MB, free: 7.246 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.104, allocations: 0 / 339.5 MB, free: 7.246 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.003716/0.1078, allocations: 1.451 MB / 341 MB, free: 5.742 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1078, allocations: 12.03 kB / 341 MB, free: 5.73 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001618/0.1094, allocations: 255.7 kB / 341.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.1097, allocations: 255.3 kB / 341.5 MB, free: 5.191 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.1097, allocations: 70.38 kB / 341.6 MB, free: 5.125 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.1099, allocations: 104.3 kB / 341.7 MB, free: 5.023 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001485/0.1114, allocations: 0.9383 MB / 342.6 MB, free: 4.07 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.1114, allocations: 7.984 kB / 342.6 MB, free: 4.062 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.369e-05/0.1115, allocations: 36 kB / 342.6 MB, free: 4.027 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.905e-05/0.1115, allocations: 24 kB / 342.7 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.1128, allocations: 0.7845 MB / 343.4 MB, free: 3.223 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004921/0.1177, allocations: 3.381 MB / 346.8 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.1196, allocations: 1.256 MB / 348.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005082/0.1201, allocations: 381.1 kB / 348.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001234/0.1203, allocations: 102 kB / 348.6 MB, free: 13.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.852e-05/0.1203, allocations: 43.56 kB / 348.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of pre-optimization done (n=87): time 2.375e-06/0.1203, allocations: 7.938 kB / 348.6 MB, free: 13.76 MB / 302.1 MB Notification: Performance of matching and sorting (n=87): time 0.002151/0.1225, allocations: 1.304 MB / 349.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.1225, allocations: 86.11 kB / 350 MB, free: 12.26 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004421/0.123, allocations: 372.3 kB / 350.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/0.123, allocations: 33.7 kB / 350.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002258/0.1233, allocations: 386.8 kB / 350.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002018/0.1235, allocations: 295.8 kB / 351.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.1237, allocations: 174.8 kB / 351.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.1238, allocations: 366.8 kB / 351.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000421/0.1243, allocations: 262.5 kB / 351.8 MB, free: 10.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005807/0.1249, allocations: 475.4 kB / 352.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.126, allocations: 0.7706 MB / 353.1 MB, free: 8.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.1261, allocations: 8 kB / 353.1 MB, free: 8.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.00189/0.128, allocations: 0.9729 MB / 354.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.128, allocations: 8 kB / 354.1 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/0.128, allocations: 8 kB / 354.1 MB, free: 7.969 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.1285, allocations: 123.4 kB / 354.2 MB, free: 7.836 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008425/0.1294, allocations: 211.6 kB / 354.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/0.134, allocations: 5.57 MB / 360 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008086/0.1349, allocations: 102.9 kB / 360.1 MB, free: 1.414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.135, allocations: 36 kB / 360.1 MB, free: 1.379 MB / 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.0004147/0.1354, allocations: 233.5 kB / 360.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.1355, allocations: 55.41 kB / 360.4 MB, free: 1.086 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.137, allocations: 0.8481 MB / 361.2 MB, free: 220 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.1371, allocations: 11.94 kB / 361.2 MB, free: 208 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.1371, allocations: 7.938 kB / 361.3 MB, free: 200 kB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.1371, allocations: 3.984 kB / 361.3 MB, free: 196 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003589/0.1407, allocations: 1.935 MB / 363.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.1407, allocations: 0 / 363.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.1413, allocations: 139.8 kB / 363.3 MB, free: 13.99 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003251/0.1417, allocations: 111.6 kB / 363.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.8e-05/0.1417, allocations: 20 kB / 363.5 MB, free: 13.85 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003961/0.1457, allocations: 5.306 MB / 368.8 MB, free: 8.012 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.1457, allocations: 4 kB / 368.8 MB, free: 8.008 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.1478, allocations: 1.264 MB / 370 MB, free: 6.688 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002419/0.1481, allocations: 144.3 kB / 370.2 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.302e-05/0.1482, allocations: 35.92 kB / 370.2 MB, free: 6.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003856/0.1485, allocations: 20 kB / 370.2 MB, free: 6.473 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001528/0.1487, allocations: 60.52 kB / 370.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.321e-05/0.1488, allocations: 24 kB / 370.3 MB, free: 6.391 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003487/0.1491, allocations: 259.2 kB / 370.6 MB, free: 6.137 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1491, allocations: 0 / 370.6 MB, free: 6.137 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001137/0.1503, allocations: 260.4 kB / 370.8 MB, free: 5.883 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.0003832/0.1507, allocations: 151 kB / 371 MB, free: 5.723 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001878/0.1525, allocations: 1.173 MB / 372.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.1526, allocations: 0 / 372.1 MB, free: 4.496 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009734/0.1535, allocations: 0.7925 MB / 372.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.1541, allocations: 61.42 kB / 373 MB, free: 3.594 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.157, allocations: 1.764 MB / 374.8 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006306/0.1576, allocations: 0.9148 MB / 375.7 MB, free: 0.832 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005308/0.1582, allocations: 109.1 kB / 375.8 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001507/0.1583, allocations: 51.42 kB / 375.8 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1583, allocations: 0 / 375.8 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of Templates: time 0.1499/0.3082, allocations: 6.849 MB / 382.7 MB, free: 51.06 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)