Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 114.7 kB / 16.63 MB, free: 6.332 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.001222/0.001222, allocations: 187.2 kB / 17.55 MB, free: 5.805 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.517/1.517, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001155/0.001155, allocations: 47.94 kB / 279.5 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08577/0.08694, allocations: 46.62 MB / 326.1 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.004963/0.09194, allocations: 4.285 MB / 330.4 MB, free: 476 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.09434, allocations: 1.667 MB / 332.1 MB, free: 14.79 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001856/0.09454, allocations: 12 kB / 332.1 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.09667, allocations: 0.9536 MB / 333.1 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.09719, allocations: 218.6 kB / 333.3 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.09855, allocations: 0.74 MB / 334 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005701/0.09912, allocations: 0.6377 MB / 334.7 MB, free: 12.22 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007829/0.09991, allocations: 0.5757 MB / 335.2 MB, free: 11.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003027/0.1002, allocations: 282.9 kB / 335.5 MB, free: 11.37 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.1006, allocations: 354.6 kB / 335.9 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.591e-05/0.1007, allocations: 56 kB / 335.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000448/0.1011, allocations: 263.8 kB / 336.2 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1012, allocations: 143.5 kB / 336.3 MB, free: 10.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000238/0.1015, allocations: 326.3 kB / 336.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000849/0.1023, allocations: 0.9462 MB / 337.6 MB, free: 9.297 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1023, allocations: 4 kB / 337.6 MB, free: 9.293 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1024, allocations: 0 / 337.6 MB, free: 9.293 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1024, allocations: 0 / 337.6 MB, free: 9.293 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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.003579/0.106, allocations: 1.253 MB / 338.8 MB, free: 7.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.106, allocations: 15.89 kB / 338.8 MB, free: 7.973 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.1074, allocations: 211.9 kB / 339 MB, free: 7.766 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.1076, allocations: 243.4 kB / 339.3 MB, free: 7.488 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.1077, allocations: 58.38 kB / 339.3 MB, free: 7.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1078, allocations: 72.38 kB / 339.4 MB, free: 7.363 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.1093, allocations: 0.7663 MB / 340.2 MB, free: 6.578 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/0.1093, allocations: 7.938 kB / 340.2 MB, free: 6.57 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.1094, allocations: 35.94 kB / 340.2 MB, free: 6.535 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.1094, allocations: 16 kB / 340.2 MB, free: 6.52 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.1108, allocations: 0.6649 MB / 340.9 MB, free: 5.852 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004455/0.1153, allocations: 3.111 MB / 344 MB, free: 2.473 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/0.1178, allocations: 2.078 MB / 346.1 MB, free: 100 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006248/0.1184, allocations: 315.8 kB / 346.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001244/0.1186, allocations: 101.7 kB / 346.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1186, allocations: 43.22 kB / 346.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.224e-06/0.1186, allocations: 0 / 346.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002684/0.1213, allocations: 1.138 MB / 347.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.1214, allocations: 119.4 kB / 347.8 MB, free: 14.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002684/0.1217, allocations: 270.5 kB / 348.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/0.1217, allocations: 37.7 kB / 348.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.1219, allocations: 299.4 kB / 348.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.1221, allocations: 248.4 kB / 348.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.1223, allocations: 138.6 kB / 348.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1224, allocations: 350.7 kB / 349.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.1229, allocations: 237.9 kB / 349.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/0.1235, allocations: 378.5 kB / 349.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.1246, allocations: 0.6337 MB / 350.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1246, allocations: 3.938 kB / 350.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001516/0.1262, allocations: 0.8422 MB / 351.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1262, allocations: 4 kB / 351.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1262, allocations: 4 kB / 351.2 MB, free: 10.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003982/0.1266, allocations: 125.7 kB / 351.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006261/0.1272, allocations: 159.8 kB / 351.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003351/0.1306, allocations: 3.789 MB / 355.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000507/0.1311, allocations: 83.16 kB / 355.3 MB, free: 6.289 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.1312, allocations: 32.06 kB / 355.4 MB, free: 6.258 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (86): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,7,100.0%), (1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002795/0.1315, allocations: 209.6 kB / 355.6 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.548e-05/0.1316, allocations: 39.53 kB / 355.6 MB, free: 6.004 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/0.1331, allocations: 0.7452 MB / 356.4 MB, free: 5.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.1332, allocations: 12 kB / 356.4 MB, free: 5.238 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1332, allocations: 7.938 kB / 356.4 MB, free: 5.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1332, allocations: 3.984 kB / 356.4 MB, free: 5.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002422/0.1356, allocations: 1.497 MB / 357.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.1356, allocations: 4 kB / 357.9 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.1362, allocations: 107.9 kB / 358 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.1364, allocations: 121.6 kB / 358.1 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.432e-05/0.1365, allocations: 12 kB / 358.1 MB, free: 3.418 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002569/0.1391, allocations: 3.349 MB / 361.5 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1391, allocations: 0 / 361.5 MB, free: 15.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001865/0.141, allocations: 1.12 MB / 362.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.907e-05/0.1411, allocations: 124.5 kB / 362.7 MB, free: 14.5 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.1412, allocations: 19.91 kB / 362.7 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/0.1416, allocations: 23.98 kB / 362.8 MB, free: 14.46 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.1417, allocations: 56.64 kB / 362.8 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.1417, allocations: 27.98 kB / 362.8 MB, free: 14.37 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.1419, allocations: 190 kB / 363 MB, free: 14.19 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1419, allocations: 0 / 363 MB, free: 14.19 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007524/0.1427, allocations: 219.5 kB / 363.2 MB, free: 13.97 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.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 (60): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002295/0.1429, allocations: 147.1 kB / 363.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001766/0.1447, allocations: 0.9068 MB / 364.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1447, allocations: 0.9375 kB / 364.3 MB, free: 12.89 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007813/0.1455, allocations: 0.5633 MB / 364.9 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004941/0.146, allocations: 44.44 kB / 364.9 MB, free: 12.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/0.1481, allocations: 1.394 MB / 366.3 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.1485, allocations: 0.8656 MB / 367.2 MB, free: 9.945 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004017/0.1489, allocations: 76.38 kB / 367.2 MB, free: 9.867 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001335/0.149, allocations: 47.42 kB / 367.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of SimCode: time 4.61e-07/0.149, allocations: 0 / 367.3 MB, free: 9.82 MB / 318.1 MB Notification: Performance of Templates: time 0.01067/0.1597, allocations: 6.105 MB / 373.4 MB, free: 3.715 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1)